artsy / team-navigator

An internal HR product for Artsy's team
https://team.artsy.net
MIT License
62 stars 19 forks source link

Current time of team members is incorrect. #85

Closed alloy closed 7 years ago

alloy commented 7 years ago

As you can see in the status bar, the actual local time in Amsterdam, at the time of loading the page, was 12:49, whereas the page says that it’s 10:49 in the CENTRAL EUROPEAN SUMMER TIME timezone. It also isn’t PM in New York right now, it’s very early AM.

screen shot 2017-03-29 at 12 51 14
orta commented 7 years ago

I bet this is due to the server timezones, we're given an "offset" from slack, so finding out where 0 is should be enough

orta commented 7 years ago

I'll try get my GMT one right, then see if everything else sorts itself :D

orta commented 7 years ago

Fixed with https://github.com/artsy/team-navigator/commit/b5602fc91951f0736de6ef9bf6ee850105d81e7f