https://bugs.freedesktop.org/show_bug.cgi?id=40575

Eike Rathke <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Eike Rathke <[email protected]> 2011-12-20 16:18:18 PST ---
Assuming that Base uses tools' class Date,
tools/source/datetime/tdate.cxx line 49 has a magic

#define MAX_DAYS    3636532

that's ~9957 years. Apparently the algorithm underlying in DaysToDate() can't
cope with higher values, didn't check, at least all operators adding days to
dates calling that method check for MAX_DAYS before doing so.

Though I wouldn't go as far as calling that "a quite significant reduction in
the number of years available", really, which star gate does one try to
calculate with an office suite..

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to