From owner-freebsd-ports@freebsd.org Sun Mar 21 07:17:20 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E76615698C8 for ; Sun, 21 Mar 2021 07:17:20 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out2-91.antispamcloud.com (out2-91.antispamcloud.com [185.201.17.91]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F388b2tbmz4XXj for ; Sun, 21 Mar 2021 07:17:19 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=out.niagahoster.com; s=spamexpert; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: reply-to:sender:bcc; bh=2AKx6RzytXfzhMnGoPGEplvoDTL0/DP4rKobsN+Y8Ew=; b=u20t9 3+Rl7yNFFpmytBTSa2Ljojzj8bfP/yZ3bZW8aT4jdb0AYvVzomh8A+w4FJ0skAeF9u6EdPEVzsORg ywMledA8Ec2uuqvxq5PNQLxJgUW0Y04cNejj1spJDp5Z3DQYGHtpD1M9Z92xV5NcZNJeduZLLWDzk eqRx46u0MG1HqGndUDqEi6pD+mQX6BwIKKg/wuDcxlDPhyYkhqW7p3AELVf93xCxNrv3CS3q02uQe xGyPH+CCpq9nBMy2mMxBvuYKBj5fpPPv57O3aJzvFA2IWoSxfyeeexKTtcfOAQCHuex1cl/PKKa9t 61Oi7NS3Ub78jRN58eSzry+CZe/Fg==; Received: from srv31.niagahoster.com ([153.92.8.106]) by mx35.antispamcloud.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1lNrke-0003Fd-Mp; Sun, 21 Mar 2021 07:39:54 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2AKx6RzytXfzhMnGoPGEplvoDTL0/DP4rKobsN+Y8Ew=; b=kgwWqi9Sm2JB58U46zOCTf1N72 5XumLAB40QQrLy6gNC32tmmf8hCbbzOF63RhyrOvHRPBVtU0eHqiHdbjQXRAGmqtVovsN0Vn3fsh0 mPsyoxOcihHwyy8I3nNFhUWVTpCzwOCVGfJzyoPqk/PQSDQt3WfEGKRFeUlBgVXjM20/YPhpNj3Pn eEJUiAEyOHNr11+0w9RD9S3+AdBpjkji5///G7TsHT1eQwfSKT7FkSgnchfQEHA0hC4n+uUnzk6Xr vHvoFcJy+btqf9lmV6WHtR+dtDlCNrDtoPYRHVy7q3i2yS3MlUkWlC4rV27NSJMpZLnKefolxaRUD D/jRF0Jw==; Received: from subs12-223-255-228-92.three.co.id ([223.255.228.92]:28189 helo=Ryzen1.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lNrkU-0007cX-Ln; Sun, 21 Mar 2021 13:39:44 +0700 Date: Sun, 21 Mar 2021 14:39:41 +0800 From: Erich Dollansky To: raf Cc: freebsd-ports@freebsd.org Subject: Re: Port: astro/sunclock: Malaysia is in the wrong time zone Message-ID: <20210321063941.6e02a7f0.freebsd.ed.lists@sumeritec.com> In-Reply-To: <20210321060330.6f7gqsq3an5ccrxj@raf.org> References: <20210321033134.6379c9a3.freebsd.ed.lists@sumeritec.com> <20210321060330.6f7gqsq3an5ccrxj@raf.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-Spampanel-Domain: out.niagahoster.com X-Spampanel-Username: niaga X-Spampanel-Outgoing-Class: unsure X-Spampanel-Outgoing-Evidence: Combined (0.14) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT+l0MxlGQzdegdUXc6YKrgvPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wc5s81f/Kp7tPhff/RVuGRIFAaTJxlsscdOeWpC5EAo8/4 Rp5Sw8nfI1t+ZYkCTW9OkhzesQ0JdQzOoHQ7p+6dfTtf5q7qgak+Xb6ZRPff81Gavff7/jlq6fkm O4krnmsYiWlX44a4ALH49sTMT4foszBwRze8040+N5eMapXpxbh6d6YdGHFEVYNFyw0h9z4pB4bx f5hPMCIsPTDZYDwLf1+2d9f9zJ5mZpXuBoRKgNRrCfIwR2cImnMWLmyQmfCZ3JKVmi72ocgY5kMQ Sjs7AdeXjCDBOomVNP9963OKU/WfQjITUeXsNvJDNf/Ofh/brxnNALu6jf94fjCf04RsAcz6TFY+ dV0e4AcUivxZtV7g1VtUQFT/xO/1GMvU/K7tU7LGW+uYW7uYqyeMIPsbL4QFy0eB/isP83e9uHLE BeHTPI/rzJIRbhotX0RECi6wEUaR4ZRne+nCN3wdkBM9QpMsZz7jglF+4aMjEqb2a9uJvYkwsBoR Wwqo1cqOW4PUJleWftUulkbC12DciiOUAQy3WRoWhjJ4ABRp4spTBKsH/WzE78WB+6LKJkk4wWBA 3PzjNUHRSTsvt8ZZzbbyrqN1zy0ifvZKU/yv3IcXNdm7+Z1+MiOHC9r/gE+nZY+T7UVZD68nyrOg wO0GKtxtveHyW4Sc8GTG4ubKaThPAlga9TV1mZdhOob7xs74zMikg3M/Slw/hJTSseovb1xR/tAV l4JF4OKoaGXF1Z8iVfXSYsX9IJeeONzwvHSvYu9HZXcvh8jmGY6aeHQMYulVJNU9lV+/6MAEbCon boIr/J6iVcVQgYWl5oc/7LkKBTrBrFCK/JY+5Zt3MXmEWRLMJQpEro5ufGv8QflwtZAnOukBeesY DgIM1rkmRFMP2RajQqZci5z4N+4v5CJKS1DIPOYK0vnLsWUxSYExe2M12/Ld14/y82ebPziYNS9m rGfvIJSBfxi4XlYFCvUGrzrXGHgyyECmHHcnfzk8TnfvhM4oLC8GM60jK8stQRpLfEg= X-Report-Abuse-To: spam@quarantine10.antispamcloud.com X-Rspamd-Queue-Id: 4F388b2tbmz4XXj X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=out.niagahoster.com header.s=spamexpert header.b=u20t9 3+; dkim=pass header.d=sumeritec.com header.s=default header.b=kgwWqi9S; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd.ed.lists@sumeritec.com has no SPF policy when checking 185.201.17.91) smtp.mailfrom=freebsd.ed.lists@sumeritec.com X-Spamd-Result: default: False [7.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[185.201.17.91:from]; GREYLIST(0.00)[pass,body]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[out.niagahoster.com:+,sumeritec.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.995]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[185.201.17.91:from]; ASN(0.00)[asn:49544, ipnet:185.201.17.0/24, country:NL]; RECEIVED_SPAMHAUS_PBL(0.00)[223.255.228.92:received]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[223.255.228.92:received]; R_DKIM_ALLOW(0.00)[out.niagahoster.com:s=spamexpert,sumeritec.com:s=default]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sumeritec.com]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[185.201.17.91:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[185.201.17.91:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] X-Spam: Yes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2021 07:17:21 -0000 Hi, On Sun, 21 Mar 2021 17:03:30 +1100 raf wrote: > On Sun, Mar 21, 2021 at 11:31:34AM +0800, Erich Dollansky > wrote: >=20 > > Hi, > >=20 > > I just noticed that Malaysia is in the same time zone as Jawa > > (Indonesia) and Thailand. Wikipedia says for Malaysia UTC+8 and for > > Jawa and Thailand UTC + 7.=20 > >=20 > > Is there no maintainer for this port as this list is listed as > > maintainer. > >=20 > > Erich =20 >=20 > Hi, >=20 > I don't know anything about the sunclock port on > FreeBSD, but I have been using it on Linux and macOS > for decades, so I thought I pipe up. >=20 > Part of Malaysia (the part containing Kuala Lumpur) is > directly South of Thailand, so it wouldn't be > surprising if that part had the same timezone as Malaysia is in the wrong time zone just as Singapore. > Thailand. Perhaps the other part (around Brunei) has a > different time zone, and Wikipedia is referring to that > part? If so, maybe Wikipedia is incomplete? >=20 Wikipedia matches my experience. > I must admit, I don't know where to see timezone > information in sunclock. I can click on places, and it > shows the solar time, which makes sense, and the solar > time between the two parts of Malaysia are about an > hour apart. >=20 > Ah, it's in the Sunclockrc file. But it only seems to > store timezones for cities, not countries, and I think > the only Malaysian city it has is Kuala Lumpur. Yes, and the information given for Bangkok, Kuala Lumpur and Jakarta are correct. >=20 > It contains these lines (for part of Malaysia and > Thailand): >=20 > addcity 2|Kuala=1FLumpur|3.133|101.700|PST-8 > addcity 2|Bangkok|13.833|100.483|TST-7 >=20 > You'd think that they'd have their own timezone > abbreviations, and not have to borrow abbreviations > from other countries so many timezones away. I don't > even know what TST is supposed to mean. The time zone abbreviations are also unknown to me. >=20 > I wonder if it will accept "Asia/Kuala_Lumpur" instead > of "PST-8". >=20 > But when I click on Bangkok and Kuala Lumpur, these > timezones in the Sunclockrc file don't seem to matter. > It still shows the solar time (they are about 5 minutes > apart). >=20 > I can't see that there's anything actually wrong with > the way it's behaving. >=20 > How are you seeing these timezones in sunclock for > different countries? I display the map of the globe. Each time zone gets a colour. The colours repeat with distance but direct neighbours have always different colours. >=20 > The manpage says that the timezone needs to be the name > of a file under /usr/share/zoneinfo (or whatever > directory is used on your system). So it should accept > "Asia/Kuala_Lumpur" instead of "PST-8". >=20 > Can you see if that works? If so, I'd be willing to do > an audit and update all of the timezones in Sunclockrc > to use the modern, geographic names for timezones. It > would take a while, though. >=20 We first would have to get an idea of where to look. When showing the map, Malaysia should share the colour with China. But it shares its colour with Thailand an the western part of Indonesia. Erich > cheers, > raf >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to > "freebsd-ports-unsubscribe@freebsd.org"