Skip to content

Commit

Permalink
Fix time format for US English
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmaier1989 committed Dec 22, 2016
1 parent 2d51ef1 commit 79918a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dater/Locale/EnUs.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class EnUs extends \Dater\Locale {
// Referring to https://en.wikipedia.org/wiki/Date_format_by_country
protected static $formats = array(
Dater::USER_DATE_FORMAT => 'm/d/Y',
Dater::USER_TIME_FORMAT => 'G:i',
Dater::USER_DATETIME_FORMAT => 'm/d/Y G:i',
Dater::USER_TIME_FORMAT => 'H:i',
Dater::USER_DATETIME_FORMAT => 'm/d/Y H:i',
);
}

0 comments on commit 79918a0

Please sign in to comment.