Skip to content

Commit

Permalink
Use 24 hour in datetime format
Browse files Browse the repository at this point in the history
  • Loading branch information
SenseException committed Apr 9, 2024
1 parent 6a92ba1 commit 6c355d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Formatter/MessageFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static function createDateValueFormatter(string $locale): MessageFormatte
'quarter_name' => '{0,date,QQQQ}',
'week_of_month' => '{0,date,W}',
'week_of_year' => '{0,date,w}',
'datetime' => '{0,date,y-MM-dd} {0,time,hh:mm:ss}',
'datetime' => '{0,date,y-MM-dd} {0,time,HH:mm:ss}',
];

return new self($locale, $dateTypeSpecifier, $valueTypeCheck);
Expand Down

0 comments on commit 6c355d5

Please sign in to comment.