Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #207196

Re: date(1) in stretch and buster

From Michael Stone <mstone@debian.org>
Newsgroups linux.debian.user
Subject Re: date(1) in stretch and buster
Date 2019-04-09 20:30 +0200
Message-ID <xL3Fn-7wc-1@gated-at.bofh.it> (permalink)
References <xKEnD-8qa-1@gated-at.bofh.it> <xKZip-4Hx-3@gated-at.bofh.it> <xL3m1-7pl-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
>clarification.

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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

date(1) in stretch and buster Reco <recoverym4n@enotuniq.net> - 2019-04-08 17:30 +0200
  Re: date(1) in stretch and buster Étienne Mollier <etienne.mollier@mailoo.org> - 2019-04-08 19:20 +0200
    Re: date(1) in stretch and buster Cindy Sue Causey <butterflybytes@gmail.com> - 2019-04-08 19:30 +0200
      Re: date(1) in stretch and buster "Thomas Schmitt" <scdbackup@gmx.net> - 2019-04-08 19:50 +0200
      Re: date(1) in stretch and buster Étienne Mollier <etienne.mollier@mailoo.org> - 2019-04-08 20:20 +0200
        Re: date(1) in stretch and buster Greg Wooledge <wooledg@eeg.ccf.org> - 2019-04-08 21:30 +0200
    Re: date(1) in stretch and buster Reco <recoverym4n@enotuniq.net> - 2019-04-08 20:10 +0200
  Re: date(1) in stretch and buster Vincent Lefevre <vincent@vinc17.net> - 2019-04-09 15:50 +0200
    Re: date(1) in stretch and buster Gene Heskett <gheskett@shentel.net> - 2019-04-09 20:10 +0200
      Re: date(1) in stretch and buster Greg Wooledge <wooledg@eeg.ccf.org> - 2019-04-09 20:10 +0200
      Re: date(1) in stretch and buster Michael Stone <mstone@debian.org> - 2019-04-09 20:30 +0200
        Re: date(1) in stretch and buster Michael Stone <mstone@debian.org> - 2019-04-09 21:20 +0200
        Re: date(1) in stretch and buster Gene Heskett <gheskett@shentel.net> - 2019-04-09 21:20 +0200
      Re: date(1) in stretch and buster Étienne Mollier <etienne.mollier@mailoo.org> - 2019-04-09 20:40 +0200
        Re: date(1) in stretch and buster Curt <curty@free.fr> - 2019-04-09 22:10 +0200
          Re: date(1) in stretch and buster David Wright <deblis@lionunicorn.co.uk> - 2019-04-09 23:00 +0200
      Re: date(1) in stretch and buster David Wright <deblis@lionunicorn.co.uk> - 2019-04-09 20:40 +0200
        Re: date(1) in stretch and buster Étienne Mollier <etienne.mollier@mailoo.org> - 2019-04-09 20:50 +0200
          Re: date(1) in stretch and buster David Wright <deblis@lionunicorn.co.uk> - 2019-04-09 21:50 +0200
        Re: date(1) in stretch and buster Gene Heskett <gheskett@shentel.net> - 2019-04-09 21:40 +0200
    Re: date(1) in stretch and buster David Wright <deblis@lionunicorn.co.uk> - 2019-04-09 20:30 +0200
      Re: date(1) in stretch and buster Greg Wooledge <wooledg@eeg.ccf.org> - 2019-04-09 21:00 +0200
        Re: date(1) in stretch and buster David Wright <deblis@lionunicorn.co.uk> - 2019-04-09 22:00 +0200
      Re: date(1) in stretch and buster Vincent Lefevre <vincent@vinc17.net> - 2019-04-10 13:40 +0200
        Re: date(1) in stretch and buster David Wright <deblis@lionunicorn.co.uk> - 2019-04-10 18:00 +0200

csiph-web