FROM : Andreas Mayer
DATE : Tue Nov 19 23:40:29 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Tue Nov 19 23:40:29 2002
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Andreas Mayer | Nov 19, 23:40 | |
| Nicholas Riley | Nov 20, 18:12 | |
| Andreas Mayer | Nov 20, 22:41 | |
| Vince DeMarco | Nov 21, 06:16 |






Cocoa mail archive

