Talk:Calendar: Difference between revisions

→‎javascript: new section
(→‎1752: new section)
(→‎javascript: new section)
 
(12 intermediate revisions by 5 users not shown)
Line 3:
: Yes. And this reminds me of [[Talk:Holidays_related_to_Easter|easter]]. --[[User:Rdm|Rdm]] 18:22, 31 May 2011 (UTC)
Maybe a the switch over date should be an argument, defaulting to the British date of switch? I am also a bit curious as to what dating system the [[wp:International Astronomical Union|International Astronomical Union]] use. Maybe there is standard for year/date definitions in [[wp:Common_Era|BCE and CE]]?
:: The IAU uses the Gregorian calendar proleptically even for dates long before its inception. (Many of the dates they deal with are so far in the past that the difference between the introductions of the Julian and Gregorian calendars is a tiny fraction of time, relatively.) They also generally don't use BCE dates, instead continuing the CE era backward into 0 and negative numbers (so 1 BCE is 0 CE, 2 BCE is -1 CE, etc.) --~~
 
:Why would the British date be the default one? At least one device, the HP48 calculator, used the initial transition date, in 1582. That would be a rather logical default date. [[User:Arbautjc|Arbautjc]] ([[User talk:Arbautjc|talk]]) 04:09, 16 March 2017 (UTC)
 
Or... Another task could be to calculate the locale date and time, based on latitude, longitude, (altitude?) AND date. Ouch... to tough for me.
Line 73 ⟶ 76:
: http://www.tondering.dk/claus/cal/calendar.html
Also, if a Julian calendar is going to be mixed with the showing of a Gregorian calendar, it should be so stated. The usual nomanclature is to mark the {Gregorian calendar] date with "OS" [old style]. Some of us older gizzers might remember some calendars that marked George Washington's (1st president of the USA) birthday as one date and another with OS — this was when it was a legal holiday in some states way back when (also, Thomas Jefferson) — this was all changed when congress created a "President's day") — but I digress once again. I was thinking of showing a Mayan calendar mixed with a Gregorian calendar just to show the obvious. Also, if a Julian calendar is going to be shown, then I would like to see year 4 (as in 4 C.E., for you old gizzers: 4 A.D.) and see if February is a leap year or not. It wasn't. – [[User:Gerard Schildberger|Gerard Schildberger]] 01:46, 14 April 2012 (UTC)
 
--
It was a leap year in Egypt, since they never used 3-year intervals before Augustus imposed the corrected leap-year rule upon them.
 
== Calendar versus CALENDAR ==
Line 79 ⟶ 85:
 
This sentence was wrong, because CALENDAR only requires uppercase code, not uppercase output. Also, CALENDAR is identical to Calendar (except uppercase), so if Calendar requires 80x43 output, then CALENDAR also requires 80x43 output. Before 12 June 2011, Calendar specified "a width of 132 characters". At 12 June 2011, Calendar began to require 80x43 output. This new 80x43 requirement broke the relationship between Calendar and CALENDAR, squeezed Snoopy, and ignored the line-printer Snoopy calender that inspired the task. So, I am now changing Calendar to accept either 132-wide output or 80x43 output. --[[User:Kernigh|Kernigh]] 02:00, 20 August 2011 (UTC)
:All of this is really crazy. Tasks should be kept simple: what do Snoopy, uppercase and IBM 1403 do here? Nothing. It's all about printing a calendar, the rest is just some strange humor. [[User:Arbautjc|Arbautjc]] ([[User talk:Arbautjc|talk]]) 04:14, 16 March 2017 (UTC)
 
== 31 March 1969 ==
Line 119 ⟶ 126:
22 23 24 25 26 27 28
29 30 31
</pre>
 
 
whereas Scala Version 1 shows
<pre>
September October
Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su
Line 133 ⟶ 140:
Any opinions/explanations??
--[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 15:06, 23 December 2014 (UTC)
:See [https://en.wikipedia.org/wiki/Gregorian_calendar Gregorian calendar] on Wikipedia. However, 1752 is not really correct: the switch from the Julian to the Gregorian calendar was initially done in october 1582. Some countries switched later. There is also a [https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar Proleptic Gregorian calendar], which "continues" the Gregorian calendar in both directions, past and future, without any reference to the Julian calendar. [[User:Arbautjc|Arbautjc]] ([[User talk:Arbautjc|talk]]) 03:54, 16 March 2017 (UTC)
--
True: 1752 was when the British Empire switched to the Gregorian from the Annunciation/Old Style calendar, not the Julian/New Style
 
== pascal ==
 
Real programmers do not underestimate other languages or other programmers--[[User:Xdv|xarilaos]] ([[User talk:Xdv|talk]]) 20:36, 13 January 2022 (UTC)
 
== javascript ==
 
Works with console but a webpage version is more preferable.--[[User:Xdv|xarilaos]] ([[User talk:Xdv|talk]]) 19:17, 16 January 2022 (UTC)
Anonymous user