Aurelia custom element for date time picker.
Example is located at: https://klinki.github.io/au-datetime-picker/
- Run
npm install au-datetime-picker - Add
aurelia.use.plugin(PLATFORM.moduleName('au-datetime-picker'))to yourmain.tsfile (or other aurelia configuration file) - Use
<au-datetime-picker></au-datetime-picker>in your code
I created this library because I needed some lightweight date-time picker and almost all available solutions were using momentjs library. Because momentjs is not treeshakeable and is very very bloated, I decided to replace it by date-fns which offers much more modular approach.
MIT License
I would like to thank:
- https://github.com/ghiscoding/Aurelia-Bootstrap-Plugins
- https://github.com/Eonasdan/bootstrap-datetimepicker
for inspiration. Also thanks to:
- https://github.com/twbs/bootstrap
- https://github.com/date-fns/date-fns
And of course