Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2002-04-24 15:14:44

"Peter Dimov" <pdimov_at_[hidden]> wrote in message
> 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.

I many application I do not bother about locales. While I need time output
format to be dynamic. Stringified version would work better here.


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