WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 6 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:

Description

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 8 years ago.

Download all attachments as: .zip

Change History (7)

@nbachiyski8 years ago

comment:1 @Otto428 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.

comment:2 @Denis-de-Bernardy6 years ago

  • Component changed from General to Feeds
  • Owner anonymous deleted

comment:3 @peaceablewhale6 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.

comment:4 @Otto426 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.

comment:5 @Otto426 years ago

  • Owner Otto42 deleted

comment:6 @Denis-de-Bernardy6 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.