Ticket #878 (closed defect: fixed)

Opened 4 years ago

Last modified 2 years ago

rss2 import switches values for post_date and post_date_gmt

Reported by: pgarrett Assigned to: 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 (1.8 kB) - added by mdawaffe on 08/31/06 17:13:37.

Change History

02/15/05 03:40:48 changed by pgarrett

  • Patch set to No.

03/10/05 09:07:32 changed by ryan

  • Patch changed from No to Yes.

08/31/06 16:42:15 changed by mdawaffe

  • status changed from new to closed.
  • resolution set to fixed.

fixed with import classes if not earlier.

08/31/06 17:13:37 changed by mdawaffe

  • attachment 878.diff added.

08/31/06 17:14:54 changed by mdawaffe

  • keywords set to has-patch 2nd-opinion rss import.
  • status changed from closed to reopened.
  • resolution deleted.

Not fixed afterall. Patch attached.

08/31/06 17:34:58 changed by ryan

  • status changed from reopened to closed.
  • resolution set to fixed.

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

08/31/06 17:35:16 changed by ryan

  • milestone set to 2.1.

09/25/06 02:26:16 changed by ryan

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

09/25/06 04:19:14 changed by foolswisdom

  • milestone changed from 2.1 to 2.0.5.

11/30/06 19:41:51 changed by

  • milestone deleted.

Milestone 2.0.5 deleted