RSS feed timestamps (aka pubDate) (Miscellaneous)
Dunno, how many of you use RSS to follow this forum, but I already noticed years ago new DOS ain't dead feed items show up in my feed reader (Feedbro) one or two hours behind the creation of the posting. The obvious reason are time zones.
my little forum software tells a feed reader it is using GMT
(#1) for the pubDate timestamp, where in fact it uses the server's local time (#1) in my setup. Changing 'Forum time difference \ Time difference between server and forum time' (#1, #2) felt 'unnatural' to me and would cause shifting of the time display in web browsers for existing postings. And I would probably have to change this setting twice a year.
So, three days ago I just replaced GMT
with %z
(PHP: strftime - Manual) and the results in web browser and feed reader look fine to me.
What are your observations?
---
Forum admin
Complete thread:
- The DOS ain't dead changes thread - rr, 10.05.2025, 10:21 (Miscellaneous)
- RSS feed timestamps (aka pubDate) - rr, 10.05.2025, 11:12
- RSS feed timestamps (aka pubDate) - rr, 21.05.2025, 16:51
- 'Full' Unicode support - rr, 09.06.2025, 15:42
- RSS feed timestamps (aka pubDate) - rr, 10.05.2025, 11:12