@kzttools/dayjs-momentjs-format-string-library
TypeScript icon, indicating that this package has built-in type declarations

1.0.14 • Public • Published

dayjs-momentjs-format-string-library

npm version npm downloads bundle JSDocs License

saving commonly used iso8601 format string and pass in the semantic key to get the corresponding format.

API

Variable Description FormatString
formatDate Date format YYYY-MM-DD
formatTime24Hour 24-hour time format HH:mm:ss
formatTime Same 24-hour time format HH:mm:ss
formatTime12Hour 12-hour time format hh:mm:ss A
formatDayOfWeekFull Full day of the week format dddd
formatDateWithSeparator Date format with separator: Year-Month-Day, separator specified as a parameter

reference

wikipedia-ISO_8601 dayjs format momentjs format

License

MIT License © 2024-PRESENT KazooTTT

Readme

Keywords

none

Package Sidebar

Install

npm i @kzttools/dayjs-momentjs-format-string-library

Weekly Downloads

1

Version

1.0.14

License

MIT

Unpacked Size

8 kB

Total Files

8

Last publish

Collaborators

  • kazoottt