Last active
January 27, 2022 11:54
-
-
Save NoNameLmao/e4bcb1411b6b0307f3685e1b9572e528 to your computer and use it in GitHub Desktop.
https://www.npmjs.com/package/emberutils, tokens for `DateExtended.customFormat('tokens here')`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
token: description: example: | |
#YYYY# 4-digit year 1999 | |
#YY# 2-digit year 99 | |
#MMMM# full month name February | |
#MMM# 3-letter month name Feb | |
#MM# 2-digit month number 02 | |
#M# month number 2 | |
#DDDD# full weekday name Wednesday | |
#DDD# 3-letter weekday name Wed | |
#DD# 2-digit day number 09 | |
#D# day number 9 | |
#th# day ordinal suffix nd | |
#hhhh# 2-digit 24-based hour 17 | |
#hhh# military/24-based hour 17 | |
#hh# 2-digit hour 05 | |
#h# hour 5 | |
#mm# 2-digit minute 07 | |
#m# minute 7 | |
#ss# 2-digit second 09 | |
#s# second 9 | |
#ampm# "am" or "pm" pm | |
#AMPM# "AM" or "PM" PM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment