smDateTimeRangePicker icon indicating copy to clipboard operation
smDateTimeRangePicker copied to clipboard

Date-time picker displays date object in a different format

Open praveenk-telsiz opened this issue 7 years ago • 4 comments

My sm-date-time-picker template:

When I select just a date, the input model shows (think the moment object) 'Tue Dec 13 2016 11:02:19 GMT-0800' before I make my selection on hour and minute. Once I select the hour and minute, it returns to the format desired. Can this be made consistent? like it always shows up in the format that we send in template?

screen shot 2016-12-13 at 11 02 50 am

praveenk-telsiz avatar Dec 13 '16 19:12 praveenk-telsiz

Yes this can be fixed. I will fix it

mominsamir avatar Dec 13 '16 20:12 mominsamir

Thanks !

Sent from my iPhone

On Dec 13, 2016, at 12:31 PM, Samir [email protected] wrote:

Yes this can be fixed. I will fix it

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

praveenk-telsiz avatar Dec 13 '16 21:12 praveenk-telsiz

@mominsamir Any updates on this?

praveenk-telsiz avatar Jan 09 '17 20:01 praveenk-telsiz

@mominsamir , any update on this? It also occurs when mode="date", selecting a date and than click cancel this format appears with new date and format (00:00 GMT..... ).

@praveenk-telsiz , have you got the solution ?

rahimnagori avatar Nov 01 '18 09:11 rahimnagori