You are not logged in.

#1 2020-08-11 22:32:06

pintert3
Member
Registered: 2020-05-08
Posts: 12

[Solved]Any ideas on how to create a timezone?

I'm in a country with more than one local timezone because in the local language, people read time on the opposite side of the clock. So instead of 12 AM, the time would be 6PM. I wanted to set up a system for some locals here to easily use the "local" local time but of course their timezone isn't officially recognized. Any help or ideas? Hopefully I'm in the right forums to post this. smile

Last edited by pintert3 (2020-09-11 16:55:38)


Things are never what they seem...

Offline

#2 2020-08-11 22:44:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved]Any ideas on how to create a timezone?

Is this a timezone issue (ie., related to a UTC offset), or just people culturally reading a clock differently (which is what your post makes it sound like)?

It would be helpful if you supplied details on the locale and the official TZ for the region.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-08-12 14:49:00

pintert3
Member
Registered: 2020-05-08
Posts: 12

Re: [Solved]Any ideas on how to create a timezone?

People culturally tell time differently. The official timezone is Africa/Kampala (EAT), UTC+0300. In the local language, the locals would say the equivalent UTC-0300 time. So it's hard to keep conversations and time calculations fluid using the language. So I thought I might add the timezone.


Things are never what they seem...

Offline

#4 2020-08-12 15:52:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved]Any ideas on how to create a timezone?

pintert3 wrote:

In the local language, the locals would say the equivalent UTC-0300 time.

So can't you just use a UTC-0300 zone?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2020-08-13 17:55:12

pintert3
Member
Registered: 2020-05-08
Posts: 12

Re: [Solved]Any ideas on how to create a timezone?

Well, that option is there, but I was up for the challenge of making the local one. Plus I've also heard of the challenge of day light savings; here there's no daylight savings. So I thought it might be even more of an excuse to make one. smile


Things are never what they seem...

Offline

#6 2020-08-13 19:27:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved]Any ideas on how to create a timezone?

So if there is no daylight savings there, why is it a challenge?  Why do you want to reinvent the wheel?  It sounds like Etc/GMT+3 would be the right zone.  If you really just want to include a name in it, just copy Etc/GMT+3 to Africa/Whatever.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2020-08-23 12:10:06

pintert3
Member
Registered: 2020-05-08
Posts: 12

Re: [Solved]Any ideas on how to create a timezone?

Alright


Things are never what they seem...

Offline

#8 2020-08-23 12:53:03

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,862
Website

Re: [Solved]Any ideas on how to create a timezone?

Not sure if this will work on Arch, but http://joeyh.name/blog/entry/howto_crea … time_zone/


https://ugjka.net
paru > yay | vesktop > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#9 2020-08-23 12:59:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved]Any ideas on how to create a timezone?

Of course it will work - but again, there's no need to create a new timezone for this as it already exists!

And actually as it is just a GMT offset with no daylight savings and no other noted exceptions, it wouldn't even matter if it existed, you still wouldn't need to create it ... just use it as noted in the "FOO" example in above link.

Try "TZ=EAX+3" or if you don't like EAX, call it something else "TZ=ARCH+3" or "TZ=KMP+3".  There's no need to create anything.

Last edited by Trilby (2020-08-23 13:02:36)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2020-09-01 13:16:01

pintert3
Member
Registered: 2020-05-08
Posts: 12

Re: [Solved]Any ideas on how to create a timezone?

It works, thanks for the help guys.


Things are never what they seem...

Offline

#11 2020-09-01 13:28:33

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [Solved]Any ideas on how to create a timezone?

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB