@hirishu10/simple-date-time
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@hirishu10/simple-date-time

Read the Official Documentation at → https://simpledt.netlify.app/

Changelog v.2.0.0

  • Major changes for version v.2.0.0
  • Two new Function/Hooks added:
    • getCustomMonth();
    • getCustomYear();
  • Some flag has been added, deprecated and modified. #ref

  • Custom function/hook getCustomDTFormatter().format(); introduced for better formatting.
    • getCustomDTFormatter(dateValue?) - If you want to use the old date please provide an unix value inside the dateValue.
    • format(formatValue, insertCharacters?)
      • You have to pass formatValue (Please read the Method and Props Config), Note: *add space after each char.
      • insertCharacters is totally optional, if you need to provide a character at the end of each formatValue character, you can add it.

Package Sidebar

Install

npm i @hirishu10/simple-date-time

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

74.7 kB

Total Files

71

Last publish

Collaborators

  • hirishu10