Make WordPress Core

Opened 11 years ago

Closed 9 years ago

#4143 closed feature request (invalid)

Timezone in feeds

Reported by: nbachiyski Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Feeds Keywords: has-patch feeds
Focuses: Cc:


Now all the feeds send all the times in GMT. It would be nice if the actual publish time was also preserved.

In both RSS2 and Atom time zones are allowed, because they use rfc822 and rfc3339 dates.

The issue was first spotted by Peio Popov.

Attachments (1)

feeds-tz.diff (8.4 KB) - added by nbachiyski 11 years ago.

Download all attachments as: .zip

Change History (7)

11 years ago

#1 @Otto42
11 years ago

Has this been tested with any feedreaders anywhere? Every feed I've ever seen *only* uses GMT/UTC for the dates. I believe older formats required it, while newer ones just point at the relevant RFC's.

While technically you could put in a non GMT date, I'd be concerned about compatibility with the readers.

#2 @Denis-de-Bernardy
9 years ago

  • Component changed from General to Feeds
  • Owner anonymous deleted

#3 @peaceablewhale
9 years ago

I think the user's timezone choice should be respected. However, I am not sure if the patch is suitable as PHP >=5.1 has built-in timezone support.

#4 @Otto42
9 years ago

  • Owner set to Otto42
  • Type changed from defect (bug) to feature request

The user's timezone choice is irrelevant for feeds, since the purpose of the time in the feed is to show when the post was made. Timezone plays no part in showing that time. The time of the post is the same regardless of what zone it's represented in.

#5 @Otto42
9 years ago

  • Owner Otto42 deleted

#6 @Denis-de-Bernardy
9 years ago

  • Milestone 2.9 deleted
  • Resolution set to invalid
  • Status changed from new to closed

let's close as invalid.

Note: See TracTickets for help on using tickets.