diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-07-19 14:38:08 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-07-19 14:51:51 +0100 |
commit | 86b36e9f7e3839e923db2fda4962cd3faf2ea47b (patch) | |
tree | 84653f8d02e54c754cd3557c8a75a785555a9849 /gcc/tree-ssa-phiopt.cc | |
parent | ba49332baba622cb9af8e34629636f2586664c7e (diff) | |
download | gcc-86b36e9f7e3839e923db2fda4962cd3faf2ea47b.zip gcc-86b36e9f7e3839e923db2fda4962cd3faf2ea47b.tar.gz gcc-86b36e9f7e3839e923db2fda4962cd3faf2ea47b.tar.bz2 |
libstdc++: Fix locale-specific duration formatting [PR110719]
The r14-2640-gf4bce119f617dc commit only removed fractional seconds for
time points, but it needs to be done for durations and hh_mm_ss types
too.
libstdc++-v3/ChangeLog:
PR libstdc++/110719
* include/bits/chrono_io.h (__formatter_chrono::_S_floor_seconds):
Handle duration and hh_mm_ss.
* testsuite/20_util/duration/io.cc: Check locale-specific
formats.
* testsuite/std/time/hh_mm_ss/io.cc: Likewise.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions