Skip to content

Commit 08a9a4b

Browse files
authored
Merge pull request #77 from kawanet/issue/76
re #76: X: equivalent to %r in en_US
2 parents 8a06a30 + 06107d2 commit 08a9a4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ e.g. `%q` becomes `q`. Use `%%` to get a literal `%` sign.
144144
- v: equivalent to `%e-%b-%Y` in en_US (based on locale)
145145
- W: week number of the year, Monday as the first day of the week, padded to 2 digits (00-53)
146146
- w: the weekday, Sunday as the first day of the week (0-6)
147-
- X: equivalent to `%D` in en_US (based on locale)
148-
- x: equivalent to `%T` in en_US (based on locale)
147+
- X: equivalent to `%T` or `%r` in en_US (based on locale)
148+
- x: equivalent to `%D` in en_US (based on locale)
149149
- Y: the year with the century
150150
- y: the year without the century (00-99)
151151
- Z: the time zone name, replaced with an empty string if it is not found

0 commit comments

Comments
 (0)