RSCodingClub / STUCO-Backend

MIT License
3 stars 0 forks source link

Use an API or module for timezone handling. #50

Closed itotallyrock closed 7 years ago

itotallyrock commented 7 years ago

Currently we are referencing a JSON file with timezone information in it and then manipulating that into what we want. It would require less work on our part, be more reliable, and be futureproof should we use it. Moment-timezone for example allows converting any ISO timestring to UTC based on current timezone which is nearly what is needed on our end currently. It also allows for more room for expanding timezone capabilities in the future.