Ticket #878 (closed defect (bug): fixed)
rss2 import switches values for post_date and post_date_gmt
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.5 |
| Severity: | minor | Keywords: | has-patch 2nd-opinion rss import |
| 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
Change History
- Status changed from new to closed
- Resolution set to fixed
fixed with import classes if not earlier.
- Keywords has-patch 2nd-opinion rss import added
- Status changed from closed to reopened
- Resolution fixed deleted
Not fixed afterall. Patch attached.
- Status changed from reopened to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.

