Date, Time, ANSI and I17N
David T. Lewis
lewis at mail.msen.com
Sat Oct 11 13:49:16 UTC 2003
On Fri, Oct 10, 2003 at 01:58:10PM +0200, Ingo Hohmann wrote:
> Hi All,
>
> did someone think about internationalization of date/time in Squeak?
>
> I guess by default all output should be in the squeak standard format.
> Then would we need
>
> localizedPrintOn:
> or
> printFormat:translated
>
> Would do you think would be best?
>
> Another point is ANSI:
>
> ANSI states that dayOfWeek returns 1 for sunday, 2 for monday ..., but as
> far as I see, there is no way to _set_ the first day of a week in ANSI, so
> if we have a means to set the first day of week to monday, shouldn't this
> be used then?
Todd Blanchard has done ISO8601 format support for Squeak. This is in the
TimeZoneDBWithTimeStamp on Squeak Map (the TimeZoneDatabase package is also
available separately; that is the time zone database without Todd's Squeak
enhancements, not Squeak-specific).
Brent Pinkney has done the ANSI date and time support for Squeak. This is in
the Chronology package on Squeak Map.
Umm, yes, I know, this stuff all needs to be reviewed and integrated.
Dave
More information about the Squeak-dev
mailing list
|