https://bugs.documentfoundation.org/show_bug.cgi?id=165733
--- Comment #4 from Takenori Yasuda <[email protected]> --- I'm sorry to bother you again, but I've found a mistake in the conditions I previously reported for reproducing the bug. Additionally, while conducting further investigation, I found that the conditions can be simplified, so I'd like to revise my report accordingly. As of the time of posting this comment, the correct conditions for the bug to occur are as follows: - The year is less than 0 (i.e., BCE). - The year is a leap year (i.e., if year + 1 matches the Gregorian leap year rule). - The date is more than 59 + D days after January 1st of that year. - 59 is the number of days from January 1st to February 28th, inclusive. - D is the number of days by which the Julian calendar lags behind the Gregorian calendar. - D changes by 1 for each year where year + 1 is divisible by 100 but not by 400 — i.e., one of the three common years in the Gregorian 400-year cycle. Basis for revision: https://git.libreoffice.org/core/+/6d4f2dcc7cbba771e9d9b00de50368db4a88ef1b%5E%21 https://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar#Julian_calendar_differences --- Side note: The mistake happened for the following reasons: - I lacked a proper understanding of how BCE dates are handled. - I based my thinking on a calendar starting at year 0, which is convenient for calculations and conditional logic. -- You are receiving this mail because: You are the assignee for the bug.
