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

--- Comment #2 from gplhust...@gmail.com ---
Thanks for catching that. I shouldn't have used "correctly" or "incorrectly".

Let me restate the current behavior: 
"32767-1-1"  recognized as Date(32767, 1, 1)
"32768-1-1"  recognized as Text("32768-1-1")
"80000-1-1"  recognized as Date(14464, 1, 1) (due to 80000 % 65536 = 14464)
"100000-1-1" recognized as Text("100000-1-1") (due to 100000 % 65536 = 34464,
which is > 32767)

To achieve simpler and safer behavior, my suggestion is to implement a clear
threshold: only values up to and including 32767 should be interpreted as valid
years for date parsing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to