[Libreoffice-bugs] [Bug 115300] date formula skips a month (same formula hasn' t been ok till today)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 29 16:03:55 UTC 2018


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

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #2 from Mike Kaganski <mikekaganski at hotmail.com> ---
1. The formula has fundamental flaw. It takes today's year (2018), next month
(2), and today's day (29), and combines into a date; Feb 29 2018 is one day
after the actual last day in this year's February - so it is March 1st, which
it properly shows.

2. When you take =MONTH(A1), where A1 is =now(), you get simply number 1. It is
*NOT* a date, just a number. But if you will decide to format the cell with the
1 as date, you will get the date of LibreOffice base date (Options-LibreOffice
Calc-Calculate) plus one day (i.e., Dec 31, 1899), so when you only show the
month of that date, you rightfully get December.

-- 
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/20180129/f12333e7/attachment.html>


More information about the Libreoffice-bugs mailing list