#878 closed defect (bug) (fixed)
rss2 import switches values for post_date and post_date_gmt
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.5 |
Component: | General | Keywords: | has-patch 2nd-opinion rss import |
Focuses: | Cc: |
Description
When importing an rss2 feed I discovered all posts dats were set to GMT time and the offset seemed to be ignored. Found that the values were simply being switched. Made the following changed to lined 148-149 in import-rss.php
148: switch variables
DATE_ADD('$post_date', INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)
and
'$post_date'
149: replace
$post_date
with
DATE_ADD('$post_date', INTERVAL '$add_hours:$add_minutes' HOUR_MINUTE)
Attachments (1)
Change History (10)
Note: See
TracTickets for help on using
tickets.
fixed with import classes if not earlier.