[wp-hackers] Feed date format and locale not using blog settings. Bug or feature?

Bjorn Wijers burobjorn at gmail.com
Thu Feb 12 02:01:29 GMT 2009


FYI, I just added this to the Codex.

See:
http://codex.wordpress.org/index.php?title=WordPress_Feeds&action=edit&section=7

grtz
BjornW

> Ok, before I add it to the Codex:
> 
> The time/date format of feed should NOT be localized since the the current RSS
> specifications are referring to RFC822 which specifies English as a default.
> This implies that every RSS consumer should take care of translating time/date
> according to its locale.
> 
> Any remarks hints or tips before I add it to the codex?
> 
> Thanks for the feedback so far!
> 
> All the best,
> 
> grtz
> BjornW
> 
> 
> 
>> On 11 Feb 2009, at 11:39, DD32 wrote:
>>
>>> Once again, No.
>>> Simply for the fact, That Feed readers do not understand different
>>> languages, The RSS spec (along with most other spec's and software) is
>>> written with English as the common format..
>>> If the spec makes no mention of it, Its not going to be supported by
>>> implementations of it, I do see that people would want it shown in
>>> their native tongue, IMO, Feed readers should be able to translate the
>>> time from a english-centric date/time into the users custom format (or
>>> language format).
>>>
>>> I somewhat think Internationalisation might be something that would be
>>> included in future spec's though.
>>>
>>> 2009/2/11 Bjorn Wijers <burobjorn at gmail.com>:
>>>> Good point.
>>>>
>>>> I looked at the RSS spec[1] and it refers to RFC822[2] which states
>>>> (I glanced
>>>> over it) that the current time/date format as used by Wordpress is
>>>> the correct
>>>> one. I've added this to the Codex[3]. However as far as I know it
>>>> doesn't
>>>> mention anything on the localization of this? So my question on if this
>>>> could/should be localized remains.
>>>>
>>>> LINKS
>>>> [1] http://cyber.law.harvard.edu/rss/rss.html
>>>>
>>>> [2] http://asg.web.cmu.edu/rfc/rfc822.html
>>>>
>>>> [3]
>>>> http://codex.wordpress.org/index.php?title=WordPress_Feeds&action=edit&section=7
>>>>
>>>>
>>>> All the best,
>>>>
>>
>> It must not be localised.
>>
>> It must conform to the RFC which is specific about the format of the
>> date/time string.
>>
>> The only change that RSS makes is it relaxed the rules on year to accept
>> 2 digit years (But they should be avoided anyway as they are ambigious)
>>
>> westi
> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> 



More information about the wp-hackers mailing list