You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
Enter "ss,sss" or "yyyy/MM/dd HH:mm:ss,sss" in the format input-field.
Expected output in result-field is "36,678" and "2016/04/14 13:46:36,678"
Actual output: "ss,s36678" and "2016/04/14 13:46:ss,s36678"
Version of Angular, UIBS, and Bootstrap
Angular:
1.5.3
UIBS:
1.3.1
Bootstrap:
3.3.6
The text was updated successfully, but these errors were encountered:
We do support milliseconds - this sounds like a bug, but we should investigate a little further.
This is sort of low priority to me though, since it seems pointless to display milliseconds in a datepicker popup with them (although perhaps the user is trying to use the service for something else, which would be fair).
I agree that it may be low priority. I just wanted to let you know about the issue, even if it is a corner-case.
@RobJacobs the issue is not related to the comma. It is easily reproducible without the comma: just choose any string containing two groups of s'es where one of them should represent milliseconds(sss) and the other seconds(s or ss). The angular date-filter supports this just fine(testable from the first link you presented).
Bug description:
Dateparser seems to confuse seconds-format with milliseconds-format when they are used together.
Link to minimally-working plunker that reproduces the issue:
http://angular-ui.github.io/bootstrap/#/dateparser
Enter "ss,sss" or "yyyy/MM/dd HH:mm:ss,sss" in the format input-field.
Expected output in result-field is "36,678" and "2016/04/14 13:46:36,678"
Actual output: "ss,s36678" and "2016/04/14 13:46:ss,s36678"
Version of Angular, UIBS, and Bootstrap
Angular:
1.5.3
UIBS:
1.3.1
Bootstrap:
3.3.6
The text was updated successfully, but these errors were encountered: