Created attachment 112787 [details] Testing spreadsheet See attachment. Column D originally contained the same values as column A (using Paste Only -> Number) and was then formatted with G EE-MM-DD date format before saving. Steps to reproduce: 1. Enter any number less than -693592. 2. Format using any date format. 3. Save and reopen. The date will show 1899-12-30 (or equivalent) and should have numerical value 0 instead of the entered value. While testing this bug I also noticed another relating to formatting i.e. column E was formatted as General when saved but reopens as G EE-MM-DD. This will be in a separate report.
I can confirm with Version: 4.5.0.0.alpha0+ Build ID: 60143f4f7bc50054dcef923218b8c7c3bc154933 TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-01-21_04:58:34
Hi Aaron, raal, Was this OK in previous versions?
(In reply to Cor Nouws from comment #2) > Hi Aaron, raal, > > Was this OK in previous versions? Lo 3.5 has the same problem.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.0.5 or 5.1.0) https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2016-02-21
ISO Dates saved in ODF format cannot have negative year: http://opengrok.libreoffice.org/xref/core/tools/source/datetime/tdate.cxx#32 So dates BC cannot be saved. This bug should resolved as WONTFIX. LibO is using a different class css::util::Date to handle calculations with dates. This class enables negative years to have dates BC. Then an easy workaround comes: use a formula such as: =-700000 to preserve a date such as June 20th, 18 BC in your ODF file.
Already fixed with bug 100452 for 5.3 *** This bug has been marked as a duplicate of bug 100452 ***