The number of days should be rounded down, for both positive and
negative times since epoch. The original code truncated, which is
correct for positive values, but wrong for negative values.
Depends on D138826
Differential D154865
[libc++][format] Fixes times before epoch. Mordante on Jul 10 2023, 10:24 AM. Authored by
Details
The number of days should be rounded down, for both positive and Depends on D138826
Diff Detail
Unit Tests Event Timeline
|
@h-vetinari you mean here? This should be 35. I probably should add a link to http://eel.is/c++draft/time.syn.