From: Darin Adler (darin_at_[hidden])
Date: 2002-04-24 15:17:01
On Wednesday, April 24, 2002, at 11:48 AM, Peter Dimov wrote:
> From: "Mark Rodgers" <mark.rodgers_at_[hidden]>
>> Why not a time_put/strftime pattern string?
>> os << date::set_format( "%B %d,%Y %w %H:%M%:%S" ) << adate;
> A pattern string is not locale-independent... %Y-%m-%d, %d.%m.%Y,
> are the same format in Japan, Europe, US.
In many projects I have worked on, the approach used was to treat the
pattern format as a localizable string, and let the translators
translate it just as they translated all other user-visible strings.
C++ code seems harder to localize.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk