[systemd-devel] [PATCH 1/2] timedatectl: check for getenv("TZDIR")

Kay Sievers kay at vrfy.org
Tue Mar 24 11:24:56 PDT 2015


On Tue, Mar 24, 2015 at 7:11 PM, Shawn Landden <shawn at churchofgit.com> wrote:
> I liked having the DST information. It is a pity glibc doesn't export
> this information.

Yeah, date(1) could use and show that information too, I think.

Adding custom parsers to work-around glibc's development style was
needed in the past, but maybe all that would be fine today.

Glib has a parser and an API to use it too:
  https://developer.gnome.org/glib/stable/glib-GTimeZone.html

Kay


More information about the systemd-devel mailing list