Skip to content

Instantly share code, notes, and snippets.

@EQuimper
Created January 27, 2020 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EQuimper/4a5077bdbdb1aecb44c3f2b9ce165d6f to your computer and use it in GitHub Desktop.
Save EQuimper/4a5077bdbdb1aecb44c3f2b9ce165d6f to your computer and use it in GitHub Desktop.
Months with short + long in js/ts
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