W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2004

[whatwg] Re: internationalization/localization

From: Martin Kutschker <Martin.T.Kutschker@blackbox.net>
Date: Thu, 01 Jul 2004 09:40:58 +0200 (METDST)
Message-ID: <20040701.31957336@blackbox.net>
"Malcolm Rowe" <malcolm-what at farside.org.uk> writes on 
Wed, 30 Jun 2004 14:50:08 +0200 (METDST):

> 
> > So I vote for either some kind of pattern (eg format="d.m.y") or some
> > style type (eg format="compact" => "1.12.2003" or format="long" =>
> > Mittwoch, der 30. Juni 2004", or some other types).
>
> An explicit pattern is bad for i18n, obviously, but 'short' and 'long'
> (or whatever) formats would certainly make sense. However, this is now
> definitely presentational, and so it should be a CSS property, not an
> HTML attribute. 


Ok. Let's drop the pattern.

And CSS is fine for me. As I understand this this would be Web Controls 1.0?

But WC1 is not in a very good shape right now. I hope it's getting somewhere when WF2 is ready.

CSS-property "date-format:"

inherit | short | medium | long

defaults to "medium"

Display a date in short, medium or long manner according to the UAs locale.

And for the more ambituos :-)

CSS-property "date-style" (or "calendar-type"):

inherit | sun | moon | hebrew | japanese | <...>

Masi
Received on Thursday, 1 July 2004 00:40:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:35 UTC