Live data from Hacker News

The leap year is February 29, not December 32 due to a Roman calendar quirk

theconversation.com

31–40 of 61 posts

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#31

Funny story about the year 2000 that does not involve Y2K: "Everyone" knows that leap years occur on year divisible by 4 ('first rule'). The second rule to them is that if a year is divisible by 100 (1800, 1900, …2000), then it is not a leap year. So a lot of folks did not have their systems/software have February 29 in the year 2000. But there is a third rule: if the year is divisible by 400 (like 1600… and 2000) it…

Wow the way this is presented is super confusing, to the point that your description includes a contradiction. Specifically, of a year is divisible by 400 it's also divisible by 100, so it's both a leap year and not leap year! Instead of showing rules as a linear list, I'd suggest it's easier to visualise it as a tree, or simpler still, as a series of nested ifs.

I mean, that contradiction is also in the first two rules. It's a leap year if it's divisible by 4, but not if it's divisible by 100, so what about 200?

Best to describe it as a flowchart

* Is the year divisible by 400? YES -> Leap year

* NO -> Is the year divisible by 100? YES -> Not leap year

* NO -> Is the year divisible by 4? YES -> Leap year

* NO -> Not leap year

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#32
post #8

Summary: The historical start of the year is March 1st. That's also why some months have misleading Latin names that are off-by-2.

I thought it was late March, around the time of the equinox? March was still the 1st month, but the year didn't start until towards the end of it. Notably, I thought the accounting/tax year started in late March, and didn't change to January because figuring out a 10-month accounting/tax year would be a nightmare. But also, accountants didn't skip the days that everyone else did when moving from the Julian to the Gre…

Falsehoods programmers believe about time

https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b...

And more complete list: https://github.com/kdeldycke/awesome-falsehood?tab=readme-ov...

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#33

Earlier quoted context omitted.

Wow the way this is presented is super confusing, to the point that your description includes a contradiction. Specifically, of a year is divisible by 400 it's also divisible by 100, so it's both a leap year and not leap year! Instead of showing rules as a linear list, I'd suggest it's easier to visualise it as a tree, or simpler still, as a series of nested ifs.

> Instead of showing rules as a linear list, I'd suggest it's easier to visualise it as a tree, or simpler still, as a series of nested ifs. Feel free to post a comment with ASCII art or (pseudo-)code. :)

(gets 1978 copy of The C Programming Language off the shelf)

   if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0)
      [it's a leap year]
   else
      [it's not]
I remember this because it is where I first learned the extra rules, beyond just every 4th year.

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#34
post #8

Summary: The historical start of the year is March 1st. That's also why some months have misleading Latin names that are off-by-2.

I thought it was late March, around the time of the equinox? March was still the 1st month, but the year didn't start until towards the end of it. Notably, I thought the accounting/tax year started in late March, and didn't change to January because figuring out a 10-month accounting/tax year would be a nightmare. But also, accountants didn't skip the days that everyone else did when moving from the Julian to the Gre…

That's English-specific (the March 25th thingy), and only started at around 1155 (the reason being that March 25 is the approximate day of spring equinox).

It is true that the Romans did have March (name from Mars the Romam deity) as the start of the year (July would have been Quintillius (fifth month) for example).

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#35

Funny story about the year 2000 that does not involve Y2K: "Everyone" knows that leap years occur on year divisible by 4 ('first rule'). The second rule to them is that if a year is divisible by 100 (1800, 1900, …2000), then it is not a leap year. So a lot of folks did not have their systems/software have February 29 in the year 2000. But there is a third rule: if the year is divisible by 400 (like 1600… and 2000) it…

>Everyone" knows that leap years occur on year divisible by 4 ('first rule').

Actually, I think that's the only rule most people know. I think the "funny story" is actually the opposite: most people were treating 2000 as an ordinary every-4-year leap year, did not know about the 100 divisor, but were inadvertently saved by the 400 divisor.

The Wikipedia link does document some cases of what you say (yes on the 2nd rule, omitting the 3rd rule) but I think there were far, far more cases of simply assuming only the 1st rule applied.

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#36

Funny story about the year 2000 that does not involve Y2K: "Everyone" knows that leap years occur on year divisible by 4 ('first rule'). The second rule to them is that if a year is divisible by 100 (1800, 1900, …2000), then it is not a leap year. So a lot of folks did not have their systems/software have February 29 in the year 2000. But there is a third rule: if the year is divisible by 400 (like 1600… and 2000) it…

Who are these people and did they not learn these in school?

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#37

Earlier quoted context omitted.

What? 13*28=364 So, missing ~1.25 days every year (instead of ~0.25 days each year with a 365 day calendar). How does this solve leap years?

1 or 2 "year day" holidays at the end of the calendar which aren't part of any month

And this is supposed to be simpler?

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#38
post #5

Earlier quoted context omitted.

Well, there's more to it than that: the leap day is really February 24th; there are "two" February 24ths. > Except that isn’t exactly true. The Romans did not add an extra day on February 29, but on February 24, which is where the more complicated answer begins. The Romans kept a calendar by counting backwards from specific set times of the month, the kalends (March 1), the nones (March 7) and the ides (March 15). Ju…

>> In older writings of various kinds, you will still see people call the leap day, February 29, the bissextile day. "bissextile" and "bis sextum" mentioned in: * https://en.wikipedia.org/wiki/Leap_year#Julian_reform

Yes, Caesar added our leap day specifically in his reforms. I just don’t think he reordered the months.

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#39

Funny story about the year 2000 that does not involve Y2K: "Everyone" knows that leap years occur on year divisible by 4 ('first rule'). The second rule to them is that if a year is divisible by 100 (1800, 1900, …2000), then it is not a leap year. So a lot of folks did not have their systems/software have February 29 in the year 2000. But there is a third rule: if the year is divisible by 400 (like 1600… and 2000) it…

>Everyone" knows that leap years occur on year divisible by 4 ('first rule'). Actually, I think that's the only rule most people know. I think the "funny story" is actually the opposite: most people were treating 2000 as an ordinary every-4-year leap year, did not know about the 100 divisor, but were inadvertently saved by the 400 divisor. The Wikipedia link does document some cases of what you say (yes on the 2nd ru…

Agreed. The fact that y2k was even a concern in the first place suggests that vanishingly few systems were made with century-scale foresight.

Re: The leap year is February 29, not December 32 due to a Roman calendar quirk

#40

Funny story about the year 2000 that does not involve Y2K: "Everyone" knows that leap years occur on year divisible by 4 ('first rule'). The second rule to them is that if a year is divisible by 100 (1800, 1900, …2000), then it is not a leap year. So a lot of folks did not have their systems/software have February 29 in the year 2000. But there is a third rule: if the year is divisible by 400 (like 1600… and 2000) it…

Related: https://www-users.york.ac.uk/~ss44/joke/decly.htm
Post reply on HN