%T is %H:%M:%S (#3349)

This commit is contained in:
Barry Revzin
2023-03-18 09:16:22 -05:00
committed by GitHub
parent d8e1c4265a
commit 93bfa05382
2 changed files with 5 additions and 4 deletions

View File

@@ -904,6 +904,8 @@ TEST(chrono_test, timestamps_sub_seconds) {
EXPECT_EQ(fmt::format("{}.{}", strftime_full_utc(t9_sec), t9_sub_sec_part),
fmt::format("{:%Y-%m-%d %H:%M:%S}", t9));
EXPECT_EQ(fmt::format("{}.{}", strftime_full_utc(t9_sec), t9_sub_sec_part),
fmt::format("{:%Y-%m-%d %T}", t9));
const std::chrono::time_point<std::chrono::system_clock,
std::chrono::milliseconds>