emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: POSIX TS spec reverses the meaning of TZ offset compared to ISO (was


From: Max Nikulin
Subject: Re: POSIX TS spec reverses the meaning of TZ offset compared to ISO (was: [POLL] Proposed syntax for timestamps with time zone info
Date: Thu, 2 Feb 2023 10:22:40 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 02/02/2023 04:57, Heinz Tuechler wrote:
My impression is that many of non experts like me don't
know in which time zone they are living.

For you own time zone: Open Development tools in a browser ([F12]), switch to console, type

     new Intl.DateTimeFormat().resolvedOptions().timeZone

I am sure there are a lot of web pages that do the same.

On linux you can use the following tool

    timedatectl

Unfortunately Emacs does not have API to obtain time zone identifier, only offset and abbreviation are exposed by GNU libc. POSIX does not have such requirement.

Is it trivial to find the [continent/city] timezone name to a specific
place?

For other places: since data to build time zone map are available, there should be web sites that allows to find identifier for any location. Sorry, I do not use them, so I can not recommend a particular one.

An application that is able to read locally installed tzdata may assist by filtering the list by time offset or by the continent (or the ocean, see e.g. Pacific/Apia trips across the International date line to America and back to Asia with Australia).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]