Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence =?iso-8859-13?q?D=FFOliveiro?= Newsgroups: comp.lang.ada Subject: Re: Ada Monthly Meetup, 7th of March Date: Sat, 21 Feb 2026 21:22:16 -0000 (UTC) Organization: A noiseless patient Spider Lines: 17 Message-ID: <10nd7m8$1jipc$3@dont-email.me> References: <10nbsn5$14ahv$1@dont-email.me> <20260221201013.1e8b665b@tag.xn--rombobjrn-67a.se> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 21 Feb 2026 21:22:17 +0000 (UTC) Injection-Info: dont-email.me; posting-host="b6da3a504f8dd60cf06754db8e5a633a"; logging-data="1690412"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gtdiy44rGPsyn8qwhWzU5" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:sMSwORvkbt7e+QUE4wqNoWEOGDA= Xref: csiph.com comp.lang.ada:59663 On Sat, 21 Feb 2026 20:10:13 +0100, Björn Persson wrote: > In the Ada spirit of preventing preventable mistakes, you can > prevent this kind of mistake by writing time offsets as hours from > UTC instead of cryptic acronyms. UTC is good. Next best is to use timezone names from the tz database. E.g. “CET” works (regardless of daylight saving) as a shorter alternative to “Europe/Brussels”, as do things like “America/New_York”, and “Pacific/Auckland” (hello). If in doubt what names to use, have a look in /usr/share/zoneinfo on just about any Linux system or compatible. Here is a simple (less than 100 lines) shell script that will show and convert times using any of these valid timezone names. See the accompanying man page for details.