Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-04-24 14:28:47


From: "Mark Rodgers" <mark.rodgers_at_[hidden]>
> From: "Peter Dimov" <pdimov_at_[hidden]>
>
>
> > 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,
%m/%d/%Y
> > are the same format in Japan, Europe, US.
>
> That's why we have "%x" which "is replaced by the locale's appropriate
date
> representation".

Which appropriate representation? There are many. Short? Long? Two digit
year? Four digit? Does it have a weekday?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk