Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit ff1a9a3

Browse files
committed
[Bug 19469] Pad the 'hour' with 0 in 24-hour time format
1 parent 2c4a8f3 commit ff1a9a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

engine/src/date.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ bool MCDateTimeInitialize()
119119
g_basic_locale->time_formats[0] = MCSTR("!%#I:%M %p");
120120
g_basic_locale->time_formats[1] = MCSTR("!%#I:%M:%S %p");
121121

122-
g_basic_locale->time24_formats[0] = MCSTR("!%#H:%M");
123-
g_basic_locale->time24_formats[1] = MCSTR("!%#H:%M:%S");
122+
g_basic_locale->time24_formats[0] = MCSTR("!%H:%M");
123+
g_basic_locale->time24_formats[1] = MCSTR("!%H:%M:%S");
124124

125125
g_basic_locale->time_morning_suffix = MCSTR("AM");
126126
g_basic_locale->time_evening_suffix = MCSTR("PM");

0 commit comments

Comments
 (0)