1.0.1 • Published 3 years ago

default_format v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

deafult_format

Very small package (503b) to help you with parsing and formatting the most knowable format across the web. The package consists of 2 functions: parseFormat and formatDate

parseFormat(Date date) => DD.MM.YYYY
formatDate(String str) => new Date(string in DD.MM.YYYY format)

To use them in your code: const { formatDate, parseDate } = require('default_format');