A DateTime
picker component built using Elm 0.19. Elm-DatePicker
is a reusable date-time picker
component that's focused on providing functionality and ease of use.
This package depends on the elm/time and elm-datetime packages.
That basically means that all the date related functionality as well as
the resulting dates that will be returned by the DatePicker
component
will be of DateTime type which is implemented in the
elm-datetime package.
elm install PanagiotisGeorgiadis/elm-datepicker
For screenshots of demo implementations head over to the screenshots folder
For usage examples you can check out the following links:
Note: In all of the examples the returned result from the DatePicker
package
will always be of DateTime
type. If there is no TimePickerConfig
defined, the
time part of the selected DateTime
will be set to midnight hours (00:00:00.000).
You can get the styles from this demo app or you can clone the repo and modify the styles as you wish.