2.0.0 • Published 10 months ago

@hirishu10/simple-date-time v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@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.