Created
January 27, 2020 19:52
-
-
Save EQuimper/4a5077bdbdb1aecb44c3f2b9ce165d6f to your computer and use it in GitHub Desktop.
Months with short + long in js/ts
This file contains hidden or 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
const months = [ | |
{ | |
long: 'January', | |
short: 'Jan', | |
}, | |
{ | |
long: 'February', | |
short: 'Feb', | |
}, | |
{ | |
long: 'March', | |
short: 'Mar', | |
}, | |
{ | |
long: 'April', | |
short: 'Apr', | |
}, | |
{ | |
long: 'May', | |
short: 'May', | |
}, | |
{ | |
long: 'June', | |
short: 'Jun', | |
}, | |
{ | |
long: 'July', | |
short: 'Jul', | |
}, | |
{ | |
long: 'August', | |
short: 'Aug', | |
}, | |
{ | |
long: 'September', | |
short: 'Sep', | |
}, | |
{ | |
long: 'October', | |
short: 'Oct', | |
}, | |
{ | |
long: 'November', | |
short: 'Nov', | |
}, | |
{ | |
long: 'December', | |
short: 'Dec', | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment