On Mon, Jun 17, 2024 at 10:36:59 -0500, David Wright wrote:
> On Mon 17 Jun 2024 at 10:23:46 (-0400), Greg Wooledge wrote:
> > /etc/timezone is only used by some legacy programs.  All the current
> > ones should be using /etc/localtime instead, which is a symlink to a
> > binary zoneinfo file, rather than a text file containing a timezone name.
> 
> You're right of course, but confirming its value does involve using
> a command that's probably not at the front of one's mind.
> 
> BTW what's the relationship between "current programs" and TZ nowadays?

Do you mean the TZ variable?  That overrides the system default.

hobbit:~$ date; TZ=Europe/Paris date
Mon Jun 17 11:40:59 EDT 2024
Mon Jun 17 17:40:59 CEST 2024

If you're asking about programs that still use /etc/timzeone, I don't know
of any off hand.  I'd be interested in hearing about any that still do,
though probably less so than the Debian libc6 maintainers are.

Reply via email to