Re: date(1) in stretch and buster
- Date: Tue, 9 Apr 2019 15:11:27 -0400
- From: Gene Heskett <gheskett@xxxxxxxxxxx>
- Subject: Re: date(1) in stretch and buster
On Tuesday 09 April 2019 14:28:18 Michael Stone wrote:
> On Tue, Apr 09, 2019 at 02:03:08PM -0400, Gene Heskett wrote:
> >On Tuesday 09 April 2019 09:38:43 Vincent Lefevre wrote:
> >> On 2019-04-08 18:26:23 +0300, Reco wrote:
> >> > stretch$ TZ=UTC date
> >> > Mon Apr 8 15:22:02 UTC 2019
> >> > buster$ TZ=UTC date
> >> > Mon 08 Apr 2019 03:22:04 PM UTC
> >> This is unrelated to your issue, but note that the correct TZ
> >> string for UTC is "UTC0", not "UTC". See
> >> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.
> >>htm l
> >Yikes. Can that be actually put into English?
> >I've read thru it, and the only thing I can come away is that 'if
> > UTC, then offset is required, and it can be anything from -23 to
> > +23, including your example 0 meaning no offset from UTC.
> >As it now reads, theres a ton of ambiguity that needs further
> There's a discrepency between the historic posix definition of the TZ
> environment variable, and how it works on a modern system. There's an
> official workaround that I've never actually seen used in the wild. It
> doesn't matter in practice.
> Mike Stone
The point I was trying to make Mike, is, if thats to be a std, its an
extremely obtuse way of writing that std. Consequently I suspect it will
be 100% ignored. And folks will continue to muddle along just fine. :)
Cheers, Gene Heskett
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>