Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datetime picker
Message
 
 
À
Tous
Information générale
Forum:
Javascript
Catégorie:
Codage, syntaxe et commandes
Titre:
Datetime picker
Divers
Thread ID:
01658962
Message ID:
01658962
Vues:
38
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
Répondre
Fil
Voir

Click here to load this message in the networking platform