Date: Mon, 22 Mar 2021 12:16:54 +0900 From: Tatsuki Makino <tatsuki_makino@hotmail.com> To: freebsd-ports@freebsd.org Subject: Re: Port: astro/sunclock: Malaysia is in the wrong time zone Message-ID: <TY2PR02MB40136575310571142C9CE300FA659@TY2PR02MB4013.apcprd02.prod.outlook.com> In-Reply-To: <20210322023816.5uo5edtg5jdy4ggx@raf.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?TY2PR02MB40136575310571142C9CE300FA659>