Date: Tue, 23 Mar 2021 10:26:56 +1100 From: raf <freebsd@raf.org> To: Tatsuki Makino <tatsuki_makino@hotmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Port: astro/sunclock: Malaysia is in the wrong time zone Message-ID: <20210322232656.mx2ginypdsmgex36@raf.org> In-Reply-To: <TY2PR02MB40136575310571142C9CE300FA659@TY2PR02MB4013.apcprd02.prod.outlook.com> References: <20210321033134.6379c9a3.freebsd.ed.lists@sumeritec.com> <20210321060330.6f7gqsq3an5ccrxj@raf.org> <20210321063941.6e02a7f0.freebsd.ed.lists@sumeritec.com> <20210321081602.GE60525@eureka.lemis.com> <20210322023816.5uo5edtg5jdy4ggx@raf.org> <TY2PR02MB40136575310571142C9CE300FA659@TY2PR02MB4013.apcprd02.prod.outlook.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 22, 2021 at 12:16:54PM +0900, Tatsuki Makino <tatsuki_makino@hotmail.com> wrote: > It looked interesting, so I took a peek. :) > > It looks like /usr/local/share/sunclock/Sunclockrc can be overridden by ~/.sunclockrc. > Then, it seems that the time difference applied is using the environment variable TZ. > The following rewrite seems to be applicable. > > @@ -X,X +Y,Y @@ > -addcity 1|Tokyo|35.683|139.733|JST-9 > +addcity 1|Tokyo|35.683|139.733|Asia/Tokyo Hi, Thanks. I think an mass update of all the city timezones is needed. I suspect that the old abbreviations don't take daylight savings into account. But that won't change the colour of (west) Malaysia in the timezones.vmf file to match the other countries in the same timezone. That's a more difficult matter involving making changes to a file containing over 20,000 lines of numbers! And it seems that lots of operating system packaging systems are getting sunclock from locations that no longer exist. Macports gets it from an archive.org version of the original French website (arvernes.com). Debian Linux gets it from a github repo that no longer exists (mdoege/Sunclock). Arch Linux has its own readonly git repo. FreeBSD gets it from Debian. I found it elsewhere on github (nongiach/Sunclock). That seems to the only "upstream" copy left. I've created a new fork of it (rafork/Sunclock) in case that one ever disappears. The new repo will never be deleted as long as github lasts. cheers, raf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210322232656.mx2ginypdsmgex36>