Skip to content

Commit fad9df8

Browse files
authored
Update Formats.md
1 parent e4b5bb4 commit fad9df8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Formats.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ The code for formatting dates and times are borrowed from https://blog.stevenlev
1616
|hh | Hours; leading zero for single-digit hours (12-hour clock). |
1717
| H | Hours; no leading zero for single-digit hours (24-hour clock). |
1818
| HH | Hours; leading zero for single-digit hours (24-hour clock). |
19-
| M | Minutes; no leading zero for single-digit minutes. Uppercase M unlike CF timeFormat's m to avoid conflict with months. |
20-
| MM | Minutes; leading zero for single-digit minutes. Uppercase MM unlike CF timeFormat's mm to avoid conflict with months. |
19+
| M | Minutes; no leading zero for single-digit minutes. |
20+
| MM | Minutes; leading zero for single-digit minutes. |
2121
| s | Seconds; no leading zero for single-digit seconds. |
2222
| ss | Seconds; leading zero for single-digit seconds. |
2323
| l or L | Milliseconds. l gives 3 digits. L gives 2 digits. |
2424
| t | Lowercase, single-character time marker string: a or p. |
2525
| tt | Lowercase, two-character time marker string: am or pm. |
26-
| T | Uppercase, single-character time marker string: A or P. Uppercase T unlike CF's t to allow for user-specified casing. |
27-
| TT | Uppercase, two-character time marker string: AM or PM. Uppercase TT unlike CF's tt to allow for user-specified casing. |
26+
| T | Uppercase, single-character time marker string: A or P. |
27+
| TT | Uppercase, two-character time marker string: AM or PM. |
2828
| Z | US timezone abbreviation, e.g. EST or MDT. With non-US timezones or in the Opera browser, the GMT/UTC offset is returned, e.g. GMT-0500. |
2929
| o | GMT/UTC timezone offset, e.g. -0500 or +0230. |
3030
| S | The date's ordinal suffix (st, nd, rd, or th). Works well with d. |

0 commit comments

Comments
 (0)