https://bugs.documentfoundation.org/show_bug.cgi?id=100452

Eike Rathke <er...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|libreoffice-b...@lists.free |er...@redhat.com
                   |desktop.org                 |

--- Comment #7 from Eike Rathke <er...@redhat.com> ---
So.. this sheds some light. When I looked at some samples earlier I got
confused and took things vice versa.

Displayed is a "real" Gregorian calendar, i.e. the dates 1582-10-05 to
1582-10-14 don't exist and the calendar jumps from 1582-10-04 to 1582-10-15,
dates prior to the Gregorian cutoff date are displayed in the Julian calendar.
This makes sense.

Stored to file are all dates in the proleptic Gregorian calendar, which is
correct.

But, the class and data structure doing that doesn't handle year 0 or negative
dates, so 0001-01-04 is correctly stored as 0001-01-02, but 0001-01-03 is
stored as 0000-12-31 and both 0001-01-02 and 0001-01-01 are stored as
0000-00-01. This of course is wrong.

I'll dig into that.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to