Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe to WebmasterWorld
RSS 2.0 and GMT timezone RSS 2.0 GMT timezone kingzeus msg:1541706 6:27 pm on Sep 13, 2004 (gmt 0) Are the date/times in an RSS 2.0 feed required to be in the GMT timezone? I'm in a unique situation where there are multiple sites in multiple timezones and I cannot modify the datetime and can only output in the site's local timezone.
I have searched every for an answer to this question and have had no luck. The RSS 2.0 specs do not help.
Dreamquick msg:1541707 6:57 pm on Sep 13, 2004 (gmt 0)
Short answer appears to be yes you can deviate from GMT but you need to state which timezone you're working with via the prefix.
Long answer is that looking through the RSS 2.0 specification gives you;
All date-times in RSS conform to the Date and Time Specification of RFC 822, with the exception that the year may be expressed with two characters or four characters (four preferred).
You can look at RFC 822 via the link below (specifically part 5), or just google the document name for further guidance.