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

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

From: Dan Chiba <dan.chiba@oracle.com>
Date: Mon, 23 Jun 2008 19:08:48 -0700
Message-ID: <48605730.7080503@oracle.com>
To: www-international@w3.org

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.

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 02:10:51 GMT

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