-
Notifications
You must be signed in to change notification settings - Fork 25.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DatePipe milliseconds #14103
Comments
Pls provide a plunkr with reproduction |
The problem is that you are using an async service so your get We could change the date pipe to ignore |
I think it makes sense to just ignore |
Yeh, this wouldn't hurt. PR? |
Thanks. I'm new to Angular. How do I fix this to wait until data i ready? |
Why is 360000 Milliseconds shown as 01:06:00. It's only 6 minutes? |
Try |
It also looks like it remembers the first date pipe result and add this value to the next. |
new Date(360000) in console gives me "Thu Jan 26 2017 20:21:31 GMT+0100 (CET)" |
So was there a date problem or? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
Current behavior
I have a google map where I click a unit. When I click a unit I get some data about the unit from a REST through a service. I then get StartToday witch is in seconds. I then want to show it as HH:mm:ss. My StartToday returns 360.
I get this error:
The text was updated successfully, but these errors were encountered: