javascript - Moment does not get correct time when local machine time is wrong -
when computer have wrong time (not synchronised standard internet time), momentjs return wrong time. used moment() , moment.utc() function, of them have same result.
how can global time independently local time ? need use external service , pass moment ?
you need pass correct time moment external service, moment not more value-added api native javascript time, can´t see more time local machine.
to time internet can use google time api;
https://developers.google.com/maps/documentation/timezone/intro
Comments
Post a Comment