Boost logo

Boost :

From: Yuval Ronen (ronen_yuval_at_[hidden])
Date: 2006-02-26 03:58:21


Jeff Garland wrote:
> On Sun, 26 Feb 2006 00:50:04 +0200, Yuval Ronen wrote
>
>> cout << time_format("HH:MM:SS") << my_ptime << endl;
>
> Shouldn't we stick to the current set of format strings which is consistent
> with the current standards?
>
> cout << time_format("%H:%M:%s") << my_ptime << endl;

Yes, of course, you're right. My stupid mistake.

> Sure this would be nice and it has been discussed before. The i/o code is
> implemented in a way that should allow for this. Patches certainly accepted.

I'll see if I have some free time for this, although I'm not optimistic
:-( I just hope that when date_time is accepted to standard ("when" and
not "if" :-) ), it will have format manipulators...


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