Need help testing TimeZone | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Need help testing TimeZone

Since there is no builtin TZ function in JS, I found a workaround and I want to know if this works around the 🌎 . If you can run this code and check the TimeZone display. If you find anything else wrong (or useful) in the code, I would also like to know. TIA Ronen https://code.sololearn.com/WTU19Vu0QE6M/?ref=app

5th Jan 2019, 5:49 PM
Ronen Gil רונן גיל رونين جيل 🏳️‍🌈♾🇹🇩🇮🇱
Ronen Gil רונן גיל رونين جيل 🏳️‍🌈♾🇹🇩🇮🇱 - avatar
6 Answers
+ 2
For my TZ it works perfectly. By the way nice digital clock!
5th Jan 2019, 8:13 PM
Juan David Padilla Diaz
Juan David Padilla Diaz - avatar
5th Jan 2019, 8:15 PM
Ronen Gil רונן גיל رونين جيل 🏳️‍🌈♾🇹🇩🇮🇱
Ronen Gil רונן גיל رونين جيل 🏳️‍🌈♾🇹🇩🇮🇱 - avatar
+ 1
Works fine, but I get a LocalStorage error, but that might be because I'm on my phone
5th Jan 2019, 9:40 PM
Roel
Roel - avatar
+ 1
Thank you Roel . May I ask what phone do you use? I will put an alert if there is no web storage...
6th Jan 2019, 8:27 AM
Ronen Gil רונן גיל رونين جيل 🏳️‍🌈♾🇹🇩🇮🇱
Ronen Gil רונן גיל رونين جيل 🏳️‍🌈♾🇹🇩🇮🇱 - avatar
+ 1
Ronen Gil רונן גיל رونين جيل 🏳️‍🌈♾🇹🇩🇮🇱 I am using an android phone (samsug galaxy a3 2016)
6th Jan 2019, 8:50 AM
Roel
Roel - avatar
+ 1
Works perfectly
23rd Feb 2019, 5:30 AM
Владимир Капранов
Владимир Капранов - avatar