Skip to content

Commit

Permalink
fixes to the parsing tokens table doc
Browse files Browse the repository at this point in the history
  • Loading branch information
icambron committed Dec 10, 2021
1 parent 572dc5c commit 1899cc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/parsing.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Because Luxon was able to parse the string without difficulty, the output is a l
| mm | | minute, padded to 2 | `07` |
| h | | hour in 12-hour time, no padding | `1` |
| hh | | hour in 12-hour time, padded to 2 | `01` |
| H | | hour in 24-hour time, no padding | `9` |
| H | | hour in 24-hour time, no padding | `13` |
| HH | | hour in 24-hour time, padded to 2 | `13` |
| Z | | narrow offset | `+5` |
| ZZ | | short offset | `+05:00` |
Expand Down Expand Up @@ -223,11 +223,11 @@ Because Luxon was able to parse the string without difficulty, the output is a l
| o | | ordinal (day of year), unpadded | `218` |
| ooo | | ordinal (day of year), padded to 3 | `218` |
| q | | quarter, no padding | `3` |
| D | | localized numeric date | `9/4/2017` |
| D | | localized numeric date | `9/6/2014` |

This comment has been minimized.

Copy link
@ysrn

ysrn Dec 10, 2021

This line should be 8/6/2014, not 9/6/2014

| DD | | localized date with abbreviated month | `Aug 6, 2014` |
| DDD | | localized date with full month | `August 6, 2014` |
| DDDD | | localized date with full month and weekday | `Wednesday, August 6, 2014` |
| t | | localized time | `9:07 AM` |
| t | | localized time | `1:07 AM` |

This comment has been minimized.

Copy link
@ysrn

ysrn Dec 10, 2021

This line should be PM, not AM

| tt | | localized time with seconds | `1:07:04 PM` |
| T | | localized 24-hour time | `13:07` |
| TT | | localized 24-hour time with seconds | `13:07:04` |
Expand Down

0 comments on commit 1899cc0

Please sign in to comment.