jsmp-infra-alina-ilnytska-date-formatting
v1.4.0
Published
This package converts a date to a specific format YYYY-MM-DD
Downloads
2
Readme
Date Formatting
jsmp-infra-alina-ilnytska-date-format is a JavaScript library for date formatting to look YYYY-MM-DD.
Installation
Use the package manager npm to install jsmp-infra-alina-ilnytska-date-format.
npm install jsmp-infra-alina-ilnytska-date-formatting
Usage
import foobar
# returns '2020-01-26'
dateFormatting('2020/01/26')
# returns 'Date parameter cannot be empty'
dateFormatting.pluralize('')