Skip to content

Commit e0718a2

Browse files
committed
add locale test for month
1 parent 91bb7ad commit e0718a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/chrono-test.cc

+1
Original file line numberDiff line numberDiff line change
@@ -1038,6 +1038,7 @@ TEST(chrono_test, year_month_day) {
10381038
auto loc = get_locale("es_ES.UTF-8");
10391039
std::locale::global(loc);
10401040
if (loc != std::locale::classic()) {
1041+
EXPECT_EQ(fmt::format(loc, "{:L}", month), "ene.");
10411042
EXPECT_EQ(fmt::format(loc, "{:%b}", month), "ene.");
10421043
}
10431044
}

0 commit comments

Comments
 (0)