I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

Talk:Days between dates

From Rosetta Code

specifying the calendar[edit]

Why is this a draft with nothing in the talk page?

Should probably specify the calendar ... e.g., always Gregorian, even for dates before its invention/adoption. Or Julian before Oct 5/15, 1582, or before Sept 3/14, 1752, or whatever. --Markjreed (talk) 02:56, 7 December 2019 (UTC)

The Gregorian calendar is proleptic,   it doesn't matter when it was adapted by the numerous and various countries.     -- Gerard Schildberger (talk) 17:27, 5 June 2020 (UTC)
The calendar itself isn't really inherently proleptic; I mean, it's usable before its inception date, but that's true of most calendars (though admittedly not all). History is full of proleptic Julian dates, too, like Julius Caesar's birthday. If the task wants you to assume the Gregorian calendar for all date ranges, it should just say so. That would be my vote, anyway: to use the modern astronomical convention of assuming the Gregorian calendar extends indefinitely in both directions in time, and also labeling years before 1 CE with 0 and negative numbers instead of switching to BCE (so 1 BCE = year 0, 2 BCE = year -1, etc) --Markjreed (talk) 19:59, 9 July 2020 (UTC)