Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #207251
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: date(1) in stretch and buster |
| Date | 2019-04-10 18:00 +0200 |
| Message-ID | <xLnNL-3iR-9@gated-at.bofh.it> (permalink) |
| References | <xKEnD-8qa-1@gated-at.bofh.it> <xKZip-4Hx-3@gated-at.bofh.it> <xL3Fn-7wc-9@gated-at.bofh.it> <xLjK9-So-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed 10 Apr 2019 at 13:26:39 (+0200), Vincent Lefevre wrote: > On 2019-04-09 13:28:40 -0500, David Wright wrote: > > On Tue 09 Apr 2019 at 15:38:43 (+0200), 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.html > > > > I think it's unwise to write that here. AIUI GNU/linux date uses the > > so-called 3rd format for timezones, which points into the time zone > > database. There's an entry in that database for UTC, but not for UTC*. > > And, of course, what would the civil name be for date to label that > > timezone with? You can't use just "UTC". > > UTC0 appears to be safer. Here's what I got in the past: > > patate:~> TZ=UTC date; TZ=UTC0 date > Mon Aug 13 00:35:53 CEST 2018 > Sun Aug 12 22:35:53 UTC 2018 > > just because a script was writing to /etc/localtime. If that's the way you "fix" your broken configuration, why not use a more indicative string so that people know your system's broken: $ date; TZ=UTC date; TZ=UTC0 date; TZ=XXX date; TZ=XXX0 date Wed Apr 10 10:48:36 CDT 2019 Wed Apr 10 15:48:36 UTC 2019 Wed Apr 10 15:48:36 UTC 2019 Wed Apr 10 15:48:36 XXX 2019 Wed Apr 10 15:48:36 XXX 2019 $ Cheers, David.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll 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