Hi Developers,
Does anybody here have successfully integrated angular moment js with certain timezone assigned to it? I managed to add this plugin to my project, but I need to set a timezone since I am getting a wrong output. Please Help!
Thanks!
Hi Developers,
Does anybody here have successfully integrated angular moment js with certain timezone assigned to it? I managed to add this plugin to my project, but I need to set a timezone since I am getting a wrong output. Please Help!
Thanks!
Angular Moment.js uses moment.js
so you can use http://momentjs.com/timezone/ to define your timezones.
Thanks @delta98. But will this work on mobile?
Absolutely, Iām assuming you are just specifying a timezone .tz("Europe/London");
and not needing to auto detect?
Yes. I am trying to fixed the timezone to a certain place.
Read http://momentjs.com/timezone/ and use .tz("Europe/London");
It worked. I just followed the documentation and imported the moment-timezone.js.
Thank you!