[Bug libstdc++/87493] chrono::system_clock unusable with std::tm due to misaligned precisions
vini.ipsmaker at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Oct 4 01:36:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87493
Vinícius dos Santos Oliveira <vini.ipsmaker at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #4 from Vinícius dos Santos Oliveira <vini.ipsmaker at gmail dot com> ---
>Recall that, from POSIX, `tm.tm_year` is supposed to be a number counted from 1900.
Oh, I made this mistake. `std::chrono::system_clock` precision is probably
enough. Thanks. Closing.
More information about the Gcc-bugs
mailing list