W3C home > Mailing lists > Public > www-international@w3.org > April to June 2008

Re: [Comment on WS-I18N WD] indicating preferred date format

From: Felix Sasaki <fsasaki@w3.org>
Date: Tue, 24 Jun 2008 14:36:56 +0900
Message-ID: <486087F8.8070102@w3.org>
To: Dan Chiba <dan.chiba@oracle.com>
CC: www-international@w3.org

Hi Dan,

Dan Chiba さんは書きました:
>
> Is this a valid example of indicating preferred date format?
>
> For an American user in the pacific timezone whose preferred medium 
> date format is "MMM dd, yyyy", should the XML representation look like 
> this?
>
> <i18n:international>
> <i18n:locale>en-US</i18n:locale>
> <i18n:tz>America/Los_Angeles</i18n:tz>
> <i18n:preferences>
> <ldml:dateFormatLength type="medium">
> <ldml:dateFormat>
> <ldml:pattern>MMM dd, yyyy</ldml:pattern>
> </ldml:dateFormat>
> </ldml:dateFormatLength>
> </i18n:preferences>
> </i18n:international>
>
> I am assuming Gregirian calendar is the default calendar system. i.e. 
> The above fragment is equivalent to this:
>
> <i18n:international>
> <i18n:locale>en-US</i18n:locale>
> <i18n:tz>America/Los_Angeles</i18n:tz>
> <i18n:preferences>
> <calendar type="gregorian">
> <ldml:dateFormatLength type="medium">
> <ldml:dateFormat>
> <ldml:pattern>MMM dd, yyyy</ldml:pattern>
> </ldml:dateFormat>
> </ldml:dateFormatLength>
> </calendar>
> </i18n:preferences>
> </i18n:international>
>
> This is an example of the clarification I would like in WS-I18N.

the example looks reasonable to me. I'm only wondering why the 
<calendar> element is in no namespace.

Btw., by "clarification" do you mean a MUST about the content of the 
i18n:preferences, a SHOULD, or a list of "best practices" e.g. for date 
formatting?

Felix


>
> Regards,
> -Dan
>
> Dan Chiba wrote:
>> Hello,
>>
>> The specific i18n items for WS-I18N on my original proposal are 
>> updated and posted to www-i18n-comments.
>>
>> http://lists.w3.org/Archives/Public/www-i18n-comments/2008Jun/0001.html
>>
>> Best regards,
>> -Dan
>>
>> Dan Chiba wrote:
>>> Hello,
>>>
>>> I posted a comment on WS-I18N on the www-i18n-comments list and 
>>> wanted to reach the folks on this list, too.
>>>
>>> http://lists.w3.org/Archives/Public/www-i18n-comments/2008Jun/0000.html
>>>
>>> Your input would be appreciated.
>>>
>>> Best regards,
>>> -Dan Chiba
>>> Oracle
>>> Globalization Technology
>>>
>>>
>>
>>
>
>
Received on Tuesday, 24 June 2008 05:37:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:17 GMT