commit | 5635f4ffb89d62a78169ff1b96e39385bbfeccb0 | [log] [tgz] |
---|---|---|
author | Mark de Wever <koraq@xs4all.nl> | Tue Apr 23 19:42:00 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Apr 23 10:46:10 2024 -0700 |
tree | 2a4204d8d7e96f08f4b69a79a143555135ca2535 | |
parent | b7f41cb655f3da3deeee6b0b1d146fe4d90a4168 [diff] |
[libc++][chrono] Fixes format output of negative values. (#89408) When trying to express a time before the epoch (e.g. "one nanosecond before 00:01:40 on 1900-01-01") the date would be shown as: 1900-01-01 00:01:39.-00000001 After this patch, that time would be correctly shown as: 1900-01-01 00:01:39.999999999 GitOrigin-RevId: 579d30109ae9526ea3ec89d2cadc846bd8cffae5