Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #684272
| From | Farley Flud <ff@linux.rocks> |
|---|---|
| Subject | Re: Fun With Dates -- Need Help |
| Newsgroups | comp.os.linux.advocacy |
| References | <pan$ae31c$a0423eb$fc913e9b$4ddce2e0@linux.rocks> |
| Message-Id | <pan$d65b1$1bacf88$d026b460$aebd25a1@linux.rocks> |
| Date | 2025-01-18 12:24 +0000 |
| Organization | UsenetExpress - www.usenetexpress.com |
On Fri, 17 Jan 2025 20:54:34 +0000, Farley Flud wrote:
>
> We see the jump and correct day with LO but not with the
> GNU/Linux date/cal commands. What is the problem? What
> am I doing wrong?
>
[Monospace font required]
Thanks a lot, assholes. Thanks for fucking nothing.
I found the source of the problem all by my lonesome,
because you lackeys couldn't pull yourselves away from
your little kiddie games.
Now listen carefully.
Officially, the Gregorian calendar was introduced on
Oct 15, 1582. The previous date, in the Julian calendar,
was Oct 4, 1582. There is a jump from Oct 4 to Oct 15.
However, much of the rest of the world only adopted the
Gregorian calendar (GC) later. In Britain and the Americas,
the GC wasn't adopted until Sept 3, 1752.
As a consequence, the Unix "cal" command defaults to
Sept 3, 1752:
# cal -3 9 1752
August 1752 September 1752 October 1752
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 1 2 14 15 16 1 2 3 4 5 6 7
2 3 4 5 6 7 8 17 18 19 20 21 22 23 8 9 10 11 12 13 14
9 10 11 12 13 14 15 24 25 26 27 28 29 30 15 16 17 18 19 20 21
16 17 18 19 20 21 22 22 23 24 25 26 27 28
23 24 25 26 27 28 29 29 30 31
30 31
The jump from Sept 2-14 is quite obvious. The whole month only has
19 days!
However, we can instruct cal to use the "gregorian" or "iso"
option which causes cal to use the PROLEPTIC GREGORIAN CALENDAR (PGC).
The PGC changes over on Oct 15 1582 but all previous dates are a
backwards extrapolation of the GC.
The jump at Sept 3 1752 is gone:
# cal --reform iso -3 9 1752
August 1752 September 1752 October 1752
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 3 4 5 1 2 1 2 3 4 5 6 7
6 7 8 9 10 11 12 3 4 5 6 7 8 9 8 9 10 11 12 13 14
13 14 15 16 17 18 19 10 11 12 13 14 15 16 15 16 17 18 19 20 21
20 21 22 23 24 25 26 17 18 19 20 21 22 23 22 23 24 25 26 27 28
27 28 29 30 31 24 25 26 27 28 29 30 29 30 31
But there is no jump at Oct 5 1582 either because all previous
dates are the GC extrapolated backwards:
# cal --reform iso -3 10 1582
September 1582 October 1582 November 1582
Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa
1 2 3 4 1 2 1 2 3 4 5 6
5 6 7 8 9 10 11 3 4 5 6 7 8 9 7 8 9 10 11 12 13
12 13 14 15 16 17 18 10 11 12 13 14 15 16 14 15 16 17 18 19 20
19 20 21 22 23 24 25 17 18 19 20 21 22 23 21 22 23 24 25 26 27
26 27 28 29 30 24 25 26 27 28 29 30 28 29 30
31
With LibreOffice Calc, there is no PGC. We can observe the jump
at Oct 5, 1582 and all prior dates use the Julian calendar.
Links:
https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar
https://wiki.documentfoundation.org/Documentation/Calc_Functions/DATE
Of course, none of this is possible with that piece-of-shit OS known
as Microslop Winblows. They only go forward and not backward.
Ha, ha, ha, ha, ha, ha, ha, ha, ha, ha, ha!
--
Systemd: solving all the problems that you never knew you had.
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-17 20:54 +0000
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-18 12:24 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-18 14:00 +0000
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-18 15:12 +0000
Re: Fun With Dates -- Need Help Physfitfreak <physfitfreak@gmail.com> - 2025-01-18 15:14 -0600
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-18 22:21 +0000
Re: Fun With Dates -- Need Help Joel <joelcrump@gmail.com> - 2025-01-18 17:40 -0500
Re: Fun With Dates -- Need Help Physfitfreak <physfitfreak@gmail.com> - 2025-01-18 17:18 -0600
Re: Fun With Dates -- Need Help Diego Garcia <dg@linux.rocks> - 2025-01-18 15:26 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-18 22:53 +0000
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-19 15:35 +0000
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-19 15:58 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-24 19:40 +0000
Re: Fun With Dates -- Need Help CrudeSausage <crude@sausa.ge> - 2025-01-24 15:36 -0500
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-24 22:27 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-24 22:55 +0000
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-24 23:35 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-25 10:43 +0000
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-25 11:24 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-25 14:06 +0000
Re: Fun With Dates -- Need Help Farley Flud <fflud@gnu.rocks> - 2025-01-25 14:49 +0000
Re: Fun With Dates -- Need Help candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-02-07 19:00 +0000
Re: Fun With Dates -- Need Help Physfitfreak <physfitfreak@gmail.com> - 2025-01-25 14:33 -0600
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-26 11:21 +0000
Re: Fun With Dates -- Need Help -hh <recscuba_google@huntzinger.com> - 2025-01-26 06:54 -0500
Re: Fun With Dates -- Need Help DFS <guhnoo-basher@linux.advocaca> - 2025-01-24 18:23 -0500
Re: Fun With Dates -- Need Help rbowman <bowman@montana.com> - 2025-01-25 01:00 +0000
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-19 17:36 +0000
Re: Fun With Dates -- Need Help Physfitfreak <physfitfreak@gmail.com> - 2025-01-20 14:03 -0600
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-20 21:05 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-24 20:16 +0000
Re: Fun With Dates -- Need Help DFS <guhnoo-basher@linux.advocaca> - 2025-01-24 16:07 -0500
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-24 22:19 +0000
Re: Fun With Dates -- Need Help DFS <guhnoo-basher@linux.advocaca> - 2025-01-24 17:54 -0500
Re: Fun With Dates -- Need Help rbowman <bowman@montana.com> - 2025-01-25 01:09 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-25 10:23 +0000
Re: Fun With Dates -- Need Help CrudeSausage <crude@sausa.ge> - 2025-01-25 06:08 -0500
Re: Fun With Dates -- Need Help Farley Flud <fflud@gnu.rocks> - 2025-01-25 16:51 +0000
Re: Fun With Dates -- Need Help DFS <guhnoo-basher@linux.advocaca> - 2025-01-25 09:07 -0500
Re: Fun With Dates -- Need Help CrudeSausage <crude@sausa.ge> - 2025-01-25 09:16 -0500
Re: Fun With Dates -- Need Help DFS <guhnoo-basher@linux.advocaca> - 2025-01-25 09:47 -0500
Re: Fun With Dates -- Need Help CrudeSausage <crude@sausa.ge> - 2025-01-25 10:28 -0500
Re: Fun With Dates -- Need Help DFS <guhnoo-basher@linux.advocaca> - 2025-01-26 11:01 -0500
Re: Fun With Dates -- Need Help CrudeSausage <crude@sausa.ge> - 2025-01-27 08:34 -0500
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-24 22:37 +0000
Re: Fun With Dates -- Need Help rbowman <bowman@montana.com> - 2025-01-25 01:04 +0000
Re: Fun With Dates -- Need Help Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-25 02:14 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-25 11:05 +0000
Re: Fun With Dates -- Need Help DFS <guhnoo-basher@linux.advocaca> - 2025-01-28 22:30 -0500
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-02-01 10:19 +0000
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-25 11:06 +0000
Re: Fun With Dates -- Need Help Farley Flud <ff@linux.rocks> - 2025-01-18 15:40 +0000
Re: Fun With Dates -- Need Help Stéphane CARPENTIER <sc@fiat-linux.fr> - 2025-01-18 23:12 +0000
Re: Fun With Dates -- Need Help Farley Flud <fflud@gnu.rocks> - 2025-01-18 16:45 +0000
Re: Fun With Dates -- Need Help Physfitfreak <physfitfreak@gmail.com> - 2025-01-18 15:28 -0600
Re: Fun With Dates -- Need Help Physfitfreak <physfitfreak@gmail.com> - 2025-01-18 14:39 -0600
csiph-web