Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2002-04-24 14:18:09

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


Boost list run by bdawes at, gregod at, cpdaniel at, john at