Ticket #878 (closed defect (bug): fixed)

Opened 7 years ago

Last modified 5 years ago

rss2 import switches values for post_date and post_date_gmt

Reported by: pgarrett Owned by: anonymous
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

878.diff Download (1.8 KB) - added by mdawaffe 5 years ago.

Change History

  • Patch set to No

comment:2   ryan7 years ago

  • Patch changed from No to Yes
  • 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.

comment:5   ryan5 years ago

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [4149]) Post date fixes. Props mdawaffe. fixes #878

comment:6   ryan5 years ago

  • Milestone set to 2.1

comment:7   ryan5 years ago

(In [4236]) Post date fixes. Props mdawaffe. fixes #878

  • Milestone changed from 2.1 to 2.0.5
  • Milestone 2.0.5 deleted

Milestone 2.0.5 deleted

Note: See TracTickets for help on using tickets.