Read the Official Documentation at → https://simpledt.netlify.app/
- 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.
- You have to pass