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

            Bug ID: 100062
           Summary: FORMATTING: dates aren't properly formated (or
                    formated at all)
           Product: LibreOffice
           Version: 4.4.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: l...@moncourrier.fr.nf

Hello,


## Meta

Version: 4.3.3.2
Build ID: 430m0(Build:2)
OS: Debian GNU/Linux 8.4 (jessie) 64-bit


## Problem

When one tries to convert a string (eg. "31-12-2016") using "Right click" >
"Format Cells" and than selecting a specific date format, either nothing
happens or, if the cell was previously formatted as "Text", an apostrophe is
happened at the beginning of the string (eg. "'31-12-2016").


## Expected result

The string is converted to the chosen date format.


## How to reproduce the bug

### bug 1: nothing happens

* Open a new Calc document ;
* In the A1 cell, insert "31-12-2016" (DD-MM-YYYY) ;
* "Right click" on this cell, select "Format Cells..." ;
* In the "Numbers" tab, select the "Date" category, select any format, press
"Ok".

Note that the problem occurs no matter what the string looks like (DD-MM-YYYY,
DD/MM/YYYY, YYYY/MM/DD,...). Except for ISO-8601 (YYYY-MM-DD) strings whose
cell is automatically converted to "Date" upon hitting "Enter" or "Tab".

### bug 2: an apostrophe is happened at the the beginning of the string

I can't reproduce this bug in a new document even though I just experienced it
in a file I have been working on.

This alternate behavior (insert an apostrophe instead of doing nothing) is not
new, see
https://ask.libreoffice.org/en/question/6466/trouble-formatting-date-cells-in-calc/

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to