1.1.0 • Published 1 year ago
@apolitical/common-helpers-dates v1.1.0
Common Helpers- Dates
Node.js module to expose functionality to format dates for use in our frontend projects
Current function
- getMonth
- Takes a date and returns the month as a string in short format
- getNumericDay
- Takes a date and returns the numeric day as a string
- getShortDate
- Takes a date and returns the date as a string in
1 Jan
format
- Takes a date and returns the date as a string in
- getDateWithYear
- Takes a date and returns the date as a string in
1 Jan 2022
format
- Takes a date and returns the date as a string in
- getLongDate
- Takes a date and returns the date as a string in
Saturday, 1 Jan 2022
format
- Takes a date and returns the date as a string in
1.1.0
1 year ago
1.1.0-draco.2
1 year ago
1.1.0-draco.0
1 year ago
1.1.0-draco.1
1 year ago
1.0.2
2 years ago
1.0.1-rc.0
2 years ago
1.0.0
3 years ago
1.0.0-beta.5
3 years ago
1.0.0-beta.4
3 years ago
1.0.0-beta.3
3 years ago
1.0.0-beta.2
3 years ago
1.0.0-beta.1
3 years ago