Bug 82222 - EDITING: interpretation of date input
Summary: EDITING: interpretation of date input
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: possibleRegression
Depends on:
Blocks:
 
Reported: 2014-08-06 04:31 UTC by Elmar
Modified: 2015-12-15 10:51 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar 2014-08-06 04:31:41 UTC
Problem description: 
I used to be able to input a date in the format dMMMyy (e.g. 6aug or 6aug14) - it would then convert the text to date.

now it keeps it as text - in fact unless I input in the format of language (e.g. UK - d/m/yy) it does not convert the text.

hopefully this is self-explanatory.

Is not a crisis, but sad.

Steps to reproduce:
1. ....
2. ....
3. ....

Current behavior:

Expected behavior:

              
Operating System: Ubuntu
Version: 4.3.0.4 release
Last worked in: 4.2.6.2 rc
Comment 1 Jean-Baptiste Faure 2014-08-06 06:03:48 UTC
Did you try to config the date acceptance patterns in Tools > Options > Language settings > Languages ?

Set status to NEEDINFO. Please set it back to UNCONFIRMED once you have provided requested informations. Thank you for your understanding.

Best regards. JBF
Comment 2 Elmar 2014-08-06 12:11:27 UTC
Date acceptance patterns looks like this:
Y/M/D;   M/D;   D.M.Y;  D.M;  Y-M-D;  M-D; (I have added spaces for readability)

I cannot add a pattern to enter 6aug 
(I do this in Excel and found that it worked in LO in the previous versions)

Also, if I enter a date (6 Aug) as 6.8
displays as 05/01/1900 19:12:00

entry of 8-6 (M-D) for 6 Aug
displays in edit bar as 08/06/2014 i.e 8 Jun)

entry 14-8-6 (Y-M-D)
displays in edit bar as 14/08/2006 ( but is actually 8 Jun)
i have to enter 2014-8-6
in order to get 6 Aug

entry 5.7.14 or 5.7.2014
displays as text input

what am I doing wrong?
Comment 3 Owen Genat (retired) 2014-08-19 10:59:17 UTC
(In reply to comment #0)
> I used to be able to input a date in the format dMMMyy (e.g. 6aug or 6aug14)
> - it would then convert the text to date.

This issue has been independently reported in this forum thread:

http://ask.libreoffice.org/en/question/38501/

It appears to be a regression in behaviour from v4.2.6.2. Under GNU/Linux using:

- v4.3.0.4 Build ID: 62ad5818884a2fc2e5780dd45466868d41009ec0
- v4.4.0.0.alpha0+ Build ID: aa0e3701aad1a8a955773e869d9a6b59eac51e72 TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-08-10_07:00:01

... entering 03SEP into a cell with default format or with a pre-existing format code of DDMMM results in "03SEP" displayed and treated as text by formula. Under v4.2.6.2 the results of entry are:

- 03/09/14 (default cell format for en-AU locale)
- 03SEP    (DDMMM format code)

... both are treated as dates by formula referencing the cell. Status set to NEW.
Comment 4 QA Administrators 2015-09-04 02:49:52 UTC
** 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.0.5 or later)
   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: 2015-09-03
Comment 5 Elmar 2015-09-05 04:52:46 UTC
This problem has been resolved in LO 5.0.
Linux Mint 17.2 Cinnamon

Obviously, one must set up the patterns in
Options/Language Settings/Languages/Date Acceptance Patterns

I have set:
Y-M-D;D/M/Y;D/M;D-M
they all work fine.

MS Excel allows a pattern DDMMM or DMMM (where MMM is a 3-letter month name, e.g. jan, feb). This is not allowed - the colour of the setting turns red.
I can live with that.
Comment 6 steve 2015-09-05 07:08:42 UTC
Since we don't have a commit fixing this problem, worksforme is the correct state. Adjusted.
Comment 7 Robinson Tryon (qubit) 2015-12-15 10:51:13 UTC
Migrating Whiteboard tags to Keywords: (possibleRegression)
[NinjaEdit]