DEV Community

loading...

Discussion on: Dealing with time zones in rails

Collapse
ting682 profile image
Ting Chung Author

Thanks for the feedback, Ian! At the time in my curriculum, I was not familiar with how to use the front-end to get the browser's time. I believe a lot of things can be refactored given that. I also learned that I can simply fetch the UTC time from the back end and do all my manipulation on the front end.