mominsamir / smDateTimeRangePicker

Angular Material Date Picker, DateTime Picker, Date Range Picker, Date Time range picker
http://mominsamir.github.io/smDateTimeRangePicker/
MIT License
130 stars 50 forks source link

Bug with date-time-picker #161

Open oleg-demkovych opened 7 years ago

oleg-demkovych commented 7 years ago

when i use mode="time" in sm-date-time-picker and select hour: 0 and minutes: 0, i receive empty screen.

http://take.ms/7Ja8n

vamsideepak commented 7 years ago

please use tag buddy. then it will not show blank screen. <sm-time-picker-new fname="start time" name="careConferenceStartTime" lable="start time" form="startTime" value="residentCareConference.careConferenceStartTime" flex-size="50" mode="time" is-required="true" format="HH:mm">

vamsideepak commented 7 years ago

please use sm-time-picker-new tag buddy. then it will not show blank screen.

oleg-demkovych commented 7 years ago

Have another problem. I have time 15:00:00: http://take.ms/eqBoA

but when open picker, time is: http://take.ms/9pF7N

<sm-time-picker-new
                      fname="{{'pincore.schedule.label_time'|translate}}"
                      lable="{{'pincore.schedule.label_time'|translate}}"
                      ng-model="cTerminalScheduleCtrl.schedule.time"
                      value="cTerminalScheduleCtrl.schedule.time"
                      format="HH:mm:ss"
                      flex="50"
                      mode="time"
                      on-focus
                      is-required="{{true}}"
                      custom-to-home="'true'">
                  </sm-time-picker-new>
vamsideepak commented 7 years ago

your are using HH:mm:ss format right ?? chnage any another format like HH:mm or hh:mm etc (there are lot of formats ) . and there is no problem to you when it displays today in picker that u provided in second link .