Re: Fun With Dates -- Need Help

Liste des GroupesRevenir à ol advocacy 
Sujet : Re: Fun With Dates -- Need Help
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacy
Date : 18. Jan 2025, 13:24:16
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <pan$d65b1$1bacf88$d026b460$aebd25a1@linux.rocks>
References : 1
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.

Date Sujet#  Auteur
17 Jan 25 * Fun With Dates -- Need Help48Farley Flud
18 Jan 25 `* Re: Fun With Dates -- Need Help47Farley Flud
18 Jan 25  +* Re: Fun With Dates -- Need Help45Stéphane CARPENTIER
18 Jan 25  i+* Re: Fun With Dates -- Need Help4Farley Flud
18 Jan 25  ii`* Re: Fun With Dates -- Need Help3Physfitfreak
18 Jan 25  ii `* Re: Fun With Dates -- Need Help2Farley Flud
19 Jan 25  ii  `- Re: Fun With Dates -- Need Help1Physfitfreak
18 Jan 25  i+* Re: Fun With Dates -- Need Help36Diego Garcia
18 Jan 25  ii`* Re: Fun With Dates -- Need Help35Stéphane CARPENTIER
19 Jan 25  ii +- Re: Fun With Dates -- Need Help1Farley Flud
19 Jan 25  ii +* Re: Fun With Dates -- Need Help13Farley Flud
24 Jan 25  ii i`* Re: Fun With Dates -- Need Help12Stéphane CARPENTIER
24 Jan 25  ii i `* Re: Fun With Dates -- Need Help11Farley Flud
24 Jan 25  ii i  +* Re: Fun With Dates -- Need Help8Stéphane CARPENTIER
25 Jan 25  ii i  i`* Re: Fun With Dates -- Need Help7Farley Flud
25 Jan 25  ii i  i `* Re: Fun With Dates -- Need Help6Stéphane CARPENTIER
25 Jan 25  ii i  i  `* Re: Fun With Dates -- Need Help5Farley Flud
25 Jan 25  ii i  i   +* Re: Fun With Dates -- Need Help2Stéphane CARPENTIER
7 Feb 25  ii i  i   i`- Re: Fun With Dates -- Need Help1candycanearter07
25 Jan 25  ii i  i   `* Re: Fun With Dates -- Need Help2Physfitfreak
26 Jan 25  ii i  i    `- Re: Fun With Dates -- Need Help1-hh
25 Jan 25  ii i  +- Re: Fun With Dates -- Need Help1DFS
25 Jan 25  ii i  `- Re: Fun With Dates -- Need Help1rbowman
19 Jan 25  ii `* Re: Fun With Dates -- Need Help20Farley Flud
20 Jan 25  ii  +* Re: Fun With Dates -- Need Help2Physfitfreak
20 Jan 25  ii  i`- Re: Fun With Dates -- Need Help1Farley Flud
24 Jan 25  ii  `* Re: Fun With Dates -- Need Help17Stéphane CARPENTIER
24 Jan 25  ii   +* Re: Fun With Dates -- Need Help9DFS
24 Jan 25  ii   i`* Re: Fun With Dates -- Need Help8Stéphane CARPENTIER
24 Jan 25  ii   i `* Re: Fun With Dates -- Need Help7DFS
25 Jan 25  ii   i  +- Re: Fun With Dates -- Need Help1rbowman
25 Jan 25  ii   i  `* Re: Fun With Dates -- Need Help5Stéphane CARPENTIER
25 Jan 25  ii   i   +* Re: Fun With Dates -- Need Help3DFS
25 Jan 25  ii   i   i`* Re: Fun With Dates -- Need Help2DFS
26 Jan 25  ii   i   i `- Re: Fun With Dates -- Need Help1DFS
25 Jan 25  ii   i   `- Re: Fun With Dates -- Need Help1Farley Flud
25 Jan 25  ii   +- Re: Fun With Dates -- Need Help1rbowman
25 Jan 25  ii   +* Re: Fun With Dates -- Need Help4Lawrence D'Oliveiro
25 Jan 25  ii   i`* Re: Fun With Dates -- Need Help3Stéphane CARPENTIER
29 Jan 25  ii   i `* Re: Fun With Dates -- Need Help2DFS
1 Feb 25  ii   i  `- Re: Fun With Dates -- Need Help1Stéphane CARPENTIER
25 Jan 25  ii   +- Re: Fun With Dates -- Need Help1Farley Flud
24 Jan 25  ii   `- Re: Fun With Dates -- Need Help1Farley Flud
18 Jan 25  i+* Re: Fun With Dates -- Need Help2Farley Flud
19 Jan 25  ii`- Re: Fun With Dates -- Need Help1Stéphane CARPENTIER
18 Jan 25  i`* Re: Fun With Dates -- Need Help2Farley Flud
18 Jan 25  i `- Re: Fun With Dates -- Need Help1Physfitfreak
18 Jan 25  `- Re: Fun With Dates -- Need Help1Physfitfreak

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal