[Libreoffice-bugs] [Bug 124231] New: Day function for creating date is off by one
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 20 21:20:30 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=124231
Bug ID: 124231
Summary: Day function for creating date is off by one
Product: LibreOffice
Version: 6.0.7.3 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: rossollo at hotmail.com
Description:
I use a spreadsheet between windows and linux and it does some date
calculations. I noticed that some entries on the Excel side had a value of
3/21/2019 and on the linux side had a value of 3/20/2019. So when I checked
the two systems were converting a date using the function Date(Year(xxx),
Month(xxx), Day(21))
On excel the value was 03/21/2019 on Libreoffice in linux it was 03/20/2019.
This caused some values to be incorrectly calculated. Everything catches up by
the end of the month, but seemed wrong.
Steps to Reproduce:
1.Use the date function =DATE(
2. Generate a date from another date with Year, Month, Day
3. Or just enter =DAY(21) and you will get 20
Actual Results:
Entered =DAY(20) got 19 and entered =DAY(1) and got 31
Expected Results:
Expected 20 and expected 1
Reproducible: Always
User Profile Reset: No
Additional Info:
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190320/318e7725/attachment.html>
More information about the Libreoffice-bugs
mailing list