https://bugs.freedesktop.org/show_bug.cgi?id=60915

          Priority: medium
            Bug ID: 60915
          Keywords: regression
          Assignee: [email protected]
           Summary: FORMATTING: Date with [~buddhist] always show the year
                    with 4 digits
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 3.4.0 Beta1
         Component: Spreadsheet
           Product: LibreOffice

Created attachment 74892
  --> https://bugs.freedesktop.org/attachment.cgi?id=74892&action=edit
screenshot of Format Cells dialog

Problem description: 
Date formatting with "[~buddhist]" always show the year with 4 digits,
regardless of format code "YY" or "YYYY"


Steps to reproduce:
1. New Spreadsheet
2. Type "01/01/2013" without quotes into A1 (or type any dates)
3. Right-click A1 > Format Cells...
4. Select Language "Thai", and Category "Date"
5. Select Format "31 ธ.ค. 2542", which has Format Code "[~buddhist]D MMM YY"
6. Click OK

Current behavior:
The date is formatted as "31 ธ.ค. 2542". The year is shown as 4 digits.

Expected behavior:
The date is formatted as "31 ธ.ค. 42". The year should be shown as 2 digits,
regarding to format code "YY".

You can compare with the next format code "[~buddhist]D MMM YYYY". They both
show same formatting, which should not.
Operating System: All
Version: 3.4.0 Beta1
Last worked in: 3.3.4 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to