Bug 120116 - Format Cells adds ' character to the beginning of every date, and does NOT format cells to date data type
Summary: Format Cells adds ' character to the beginning of every date, and does NOT fo...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-25 16:16 UTC by C.Rogers
Modified: 2019-06-08 02:57 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
simple csv file with dates to be sorted for testing this bug. (1.06 KB, text/csv)
2018-09-25 16:16 UTC, C.Rogers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description C.Rogers 2018-09-25 16:16:38 UTC
Created attachment 145166 [details]
simple csv file with dates to be sorted for testing this bug.

I found this bug while trying to sort by date mm/dd/yyyy

So to turn the date column into a date data type or sorting I do the following:

1. Highlight the column
2. right-click and choose "Format Cells"
3. I choose Category "Date" and the Format "31/12/1999"
4. Click OK

Expected behaviour: Calc should format the selected cells to the Date data type, so it can be sorted by date ascending/descending

What happens instead: Calc just adds a ' to the beginning of every single date cell before the date string.

This is... baffling behaviour. :)

It notably does NOT format the column data to a date.

To reproduce, open any csv containing date data (like the attached file), and try the above steps.


This is ver 6.0.3.2
running on Ubuntu Linux 18.04
Comment 1 C.Rogers 2018-09-25 16:23:08 UTC
IMHO, this bug as a "major" bug, because being able assign a data type to cells and sort by date is a very basic must-have feature that must be handled correctly. This bug will drive away new users quite quickly. Re-categorise if necessary.
Comment 2 Oliver Brinzing 2018-09-25 16:41:10 UTC
your attached file is a *.csv file containing a single column with date values.

please do the following steps:
- during opening a "Text Import" dialog will open.
- select header "Standard" and choose "Date (DMY)" from "Column type" listbox.
- select Menu View "Value Highlighting"
- the date values should now appear in blue color
- format cells with 31/12/1999
- save the spreadsheet as *.odt file

does this solve your problem?
Comment 3 QA Administrators 2019-05-08 18:23:02 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2019-06-08 02:57:17 UTC
Dear C.Rogers,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp