1.0.14 • Published 1 year ago

@kzttools/dayjs-momentjs-format-string-library v1.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

VariableDescriptionFormatString
formatDateDate formatYYYY-MM-DD
formatTime24Hour24-hour time formatHH:mm:ss
formatTimeSame 24-hour time formatHH:mm:ss
formatTime12Hour12-hour time formathh:mm:ss A
formatDayOfWeekFullFull day of the week formatdddd
formatDateWithSeparatorDate 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

1.0.14

1 year ago

1.0.13

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago