Setting the Format for Dates
Setting the Format for Dates
- Subject: Setting the Format for Dates
- From: Andreas Mayer <email@hidden>
- Date: Tue, 19 Nov 2002 23:40:29 +0100
I'm trying to localize time/date strings. This is what the
documentation says, specifiers should do:
%c shorthand for "%X %x", the locale format for date and time
%x date using the date representation for the locale, including the
time zone (produces different results from strftime())
%X time using the time representation for the locale (produces
different results from strftime())
Now %x, as well as %X give me:
Di Nov 19 2002 23:29:00 Europe/Berlin
While the language and the time format is correct, the date format is
not. Besides, none of them should display date AND time, if I'm not
mistaken.
%c does the same. Same wrong format, too.
Oh. The English 'localization' works as expected. <sigh>
bye. Andreas.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.