|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2005-06-13 05:09:17
Andy Schweitzer wrote:
> Hello there, been playing with the logging library. Is this the right
> place to post bug reports?
>
> It seems that $yy prints "105" for the year 2005, not "05", which I
> expected. $yyyy is correct, it prints 2005.
>
> If line 173,
> // vals[m_yy + 1] = details.tm_year;
> is changed to
> // vals[m_yy + 1] = details.tm_year % 100;
> it appears to work... although I only tested with today's date.
>
Yup, thanks!
I'll update the code.
Best,
John
-- John Torjo, Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/ -v1.6.3 (Resource Splitter) -- http://www.torjo.com/cb/ - Click, Build, Run!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk