I checked the source code, it looks like the numbers are in hours, time zones are more dividing an hour. There’s a time zone with +5.45 (Nepal). Saoma skipped 30 December 2011, daylight saving time etc.
I have to ask, do you understand how complicated time zone is and do you know how time zones work around the world? I’d use the IANA timezone database, there’s no use re-inventing the wheel.
I’d advise against the use of %Z for getting the raw time zone data of a user as that’s locale based.
This video explains how time zones are nowhere as uniform:
Thanks for responding. I watched the video and now idk what to do.
Right now if you aren’t in one of the time zones defined in the table, it just shows UTC time. The numbers may be in hours, but like you said,
so I can put 5.45, but of course, there is the other stuff. I will try and make it better, and if I can’t, I’ll either not update it anymore or just scrap the project entirely.