Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime picker
Message
 
 
To
All
General information
Forum:
Javascript
Category:
Coding, syntax & commands
Title:
Datetime picker
Miscellaneous
Thread ID:
01658962
Message ID:
01658962
Views:
37
Hi everybody,

We're using bootstrap datetimepicker in a directive. If we allow to pick time, we have the format set to HH:mm.

Apparently that format changes the way the dates are saved. Say, we set the date programmatically to 59:59.997 at the end of the date. However, it is being saved as

59:59:00.000

Is there a way to have shorter format but allow to save datetime with seconds (and milliseconds) using that control?

Thanks in advance.

UPDATE. I made several fixes in that directive and now it saves datetime correctly.
If it's not broken, fix it until it is.


My Blog
Reply
Map
View

Click here to load this message in the networking platform