Jeff Garland
Jeff Garland
So I think your best bet might be to customize your boost install by changing the greg_year specification to allow dates prior to 1400. The 1400 is a sort of...
So I don't think the issue here is inexactness -- in fact it is exact. You'll note that in all test cases here the '.5' has been rounded up because...
The docs are ‘right’, but incomplete. If the fractional seconds are 0 then it is omitted - that’s probably the report your receiving. I have a version if the function...
I'm not sure what the confusion is. The function calls gmtime to assign the result pointer and then returns it? Also this is really an implementation detail of the library,...
``` result = std::gmtime(t); ``` That changes it.
It isn't documented to be either -- but it's a valid request. https://www.boost.org/doc/libs/1_73_0/doc/html/date_time/date_time_io.html#date_time.format_flags
is is possible to get and unzip upload -- wary of opening those for security reasons
Yes I missed it in the docs. If you look at the tests (testtime_input_facet.cpp) it's clear on the input side that it's not implemented (commented out test). On the output...
Look again really close: https://en.cppreference.com/w/cpp/io/manip/put_time -- you'll see this: I | writes hour as a decimal number, 12 hour clock (range [01,12]) | tm_hour -- | -- | -- I've...
ok right -- really sorry for the confusion. So I looked it up. The time_put is specified in terms of iso/iec 9945 strptime which does not provide the '%l' (where...