tildate
v1.0.19
Published
TilDate is a typescript datetime library to format and parse native js Date()
Downloads
4
Readme
tildate
TilDate is a typescript datetime library to format and parse native js Date()
✨ Features
- DateTime is capable of formatting using same formatter as Java
- It can Parse string using same formatter
- Added extra functionality ex: isBefore(), isAfter(), isSame()
🔧 Installation
yarn add tildate
or
npm i tildate -S
🎬 Getting started
It's simple to start:
import { DateTime } from 'tildate';
// Others imports
class MyClass {
dateTime = new DateTime();
}
<!-- in html -->
{{dateTime}} // for Angular
🎭 Examples
Go checkout examples !
📜 API
Document your API here
publicMethodOne(value:string): string
These methods do foo bar moo...
Example:
// example
🎓 Guides
🕵️ Troubleshooting
🥂 License
MIT as always