-
Notifications
You must be signed in to change notification settings - Fork 397
UTC to local time #114
Comments
I have the same issue, I can't find a way to call .local() after utc(). |
I did a quick test, and this is working:
` |
What is "this" in this context for your snippet? |
+1 |
Sorry for the delay, just got an email this morning. this is the amMoment service. |
this worked great, thanks! |
This has worked for me:
|
I also have this issue. In my case the timestamp is saved as UTC on the server, while the users should view the date in their own local time without explicitly declaring it. Modifying the service is a no-go as future bower updates will destroy the edits. |
We will add a |
nice |
My app gets utc datetime value from backend ('2015-03-03 11:18:33' for example)
How to convert this to user's local time?
The text was updated successfully, but these errors were encountered: