Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.os.linux.misc > #75430

Re: Date formatting.

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups comp.os.linux.misc
Subject Re: Date formatting.
Date Mon, 29 Sep 2025 21:52:05 +0200
Lines 32
Message-ID <5k4rqlxn6f.ln2@Telcontar.valinor> (permalink)
References <1835a5c81ceedfd3$44418$19313$802601b3@news.usenetexpress.com> <20250414092849.00004cdd@gmail.com> <pan$630f$11fc0600$4376005a$ad574581@linux.rocks> <87wmbcguz9.fsf@somewhere.edu> <pan$4f5c8$f12b9163$46e2db5$f503da29@linux.rocks> <87wm5u9jh8.fsf@somewhere.edu> <68cec4ae$0$16841$426a74cc@news.free.fr> <pan$22d08$c7d3d6c5$93f27de1$98b75aed@linux.rocks> <68ceec3c$0$419$426a74cc@news.free.fr> <pan$f146c$86520db6$e8d55afa$81b97306@linux.rocks> <68d012d4$0$16839$426a74cc@news.free.fr> <pan$1d272$d3891b48$ebe7af94$67ee5eca@linux.rocks> <68d7f84d$0$12939$426a74cc@news.free.fr> <18692cf2a1c4c4fa$28998$2650548$802601b3@news.usenetexpress.com> <10bb1s4$29c4m$1@dont-email.me> <20250929091131.00000dc4@gmail.com> <FIyCQ.112782$DQYd.18287@fx16.iad> <jvqqqlxnbk.ln2@Telcontar.valinor> <10befmu$33rad$1@dont-email.me> <10benah$37ddd$5@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net pPxYfiz6PD4cqFtrbs8riwzzN7mJg0hcSCpBJnY2ylrFFA5fcx
X-Orig-Path Telcontar.valinor!not-for-mail
Cancel-Lock sha1:7TTl54J2rUnq/ZhY1meSUDS+9TQ= sha256:hGnO8v9xNftWdjy4I784iVmDP8Uu1t8Tn6UOtFh+3Gk=
User-Agent Mozilla Thunderbird
Content-Language es-ES, en-CA
In-Reply-To <10benah$37ddd$5@dont-email.me>
Xref csiph.com comp.os.linux.misc:75430

Show key headers only | View raw


On 2025-09-29 21:40, Lawrence D’Oliveiro wrote:
> On Mon, 29 Sep 2025 18:30:06 +0100, Pancho wrote:
> 
>> I like YYYYMMDD too, but the real epiphany moment for me was when I
>> realised that all dates should be handled internally UTC, Unix time,
>> and that output format, display, is just a user preference.
> 
> As far as I can tell, it was Unix that pioneered the idea of maintaining
> system time as UTC (actually GMT in the early days), and converting back
> and forth as necessary for human interpretation. Other systems continued
> to resist the idea for decades afterwards. Windows still doesn’t do it
> today. macOS --- who can tell?

Windows has a registry boolean option to store the CMOS time as UTC. I 
have no idea if this also means internally.

> 
>> It is so obvious, and yet I worked on so many systems that messed up
>> date conversions/different time zones.
> 
> All too common, on systems like Microsoft Windows that maintain system
> time as local time, to forget that they have done the daylight-saving
> switch once, and do it a second time. That kind of bug can’t happen when
> system time is maintained as UTC.
> 
> There is an article on Bitsavers which mentions that IBM mainframes needed
> to be rebooted to switch daylight saving on and off.


-- 
Cheers, Carlos.
ES🇪🇸, EU🇪🇺;

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Favorite Font Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-09-27 14:44 +0000
  Re: Favorite Font Farley Flud <fflud@gnu.rocks> - 2025-09-27 15:22 +0000
    Re: Favorite Font Nuno Silva <nunojsilva@invalid.invalid> - 2025-09-28 11:15 +0100
      Re: Favorite Font ram@zedat.fu-berlin.de (Stefan Ram) - 2025-09-28 10:42 +0000
      Re: Favorite Font Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2025-09-28 14:03 -0700
        Re: Favorite Font Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-28 22:51 +0000
          Re: Favorite Font candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-09-30 18:30 +0000
            Re: Favorite Font Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2025-09-30 11:45 -0700
              Re: Favorite Font rbowman <bowman@montana.com> - 2025-09-30 20:04 +0000
            Re: Favorite Font Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-30 22:46 +0000
        Re: Favorite Font Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-10-04 09:31 +0000
          Re: Favorite Font Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2025-10-04 10:08 -0700
            Re: Favorite Font Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-10-04 21:10 +0000
      Re: Favorite Font John Ames <commodorejohn@gmail.com> - 2025-09-29 09:11 -0700
        Re: Favorite Font Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-09-29 16:45 +0000
          Date formatting. "Carlos E.R." <robin_listas@es.invalid> - 2025-09-29 19:07 +0200
            Re: Date formatting. Pancho <Pancho.Jones@protonmail.com> - 2025-09-29 18:30 +0100
              Re: Date formatting. Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-29 19:40 +0000
                Re: Date formatting. "Carlos E.R." <robin_listas@es.invalid> - 2025-09-29 21:52 +0200
              Re: Date formatting. "Carlos E.R." <robin_listas@es.invalid> - 2025-09-29 21:45 +0200
              Re: Date formatting. rbowman <bowman@montana.com> - 2025-09-30 02:08 +0000
            Re: Date formatting. c186282 <c186282@nnada.net> - 2025-09-29 23:15 -0400
          Re: Favorite Font rbowman <bowman@montana.com> - 2025-09-29 18:55 +0000

csiph-web