NoRedInk/datetimepicker-legacy/3.1.0

DateTimePicker.Internal

type alias DateSelection =
{ year : Int
, month : Month
, day : Day
}
= InternalState StateValue
type alias StateValue =
{ inputFocused : Bool
, today : Maybe DateTime
, titleDate : Maybe DateTime
, date : Maybe DateTime
, hourPickerStart : Int
, minutePickerStart : Int
, textInputValue : String
}
= HourIndicator
| MinuteIndicator
| AMPMIndicator
type alias TimeSelection =
{ hour : Maybe Int
, minute : Maybe Int
, amPm : Maybe String
}

Get the internal state values

initialStateValue : StateValue
initialStateValueWithToday : DateTime -> StateValue

THIS IS A HEAVILY MODIFIED FORK OF https://github.com/abadi199/datetimepicker