Change-Id: Ice5721d480567be4f8a4a79da6e01a6a389bf4bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129318
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2022-02-02 08:57:44 +01:00
committed by Julien Nabet
parent 1305329999
commit 74bcd46bbf
+2 -2
View File
@@ -264,8 +264,8 @@ std::unique_ptr<XFDateStyle> LwpTools::GetSystemDateStyle(bool bLongFormat)
return nullptr;
// 3 parse pattern string,per icu date/time format syntax, there are 20 letters reserved
// as pattern letter,each represent an element in date/time and its repeat numbers represent
// different format: for example: M produces '1',MM produces '01', MMM produces 'Jan', MMMM produces 'Januaray'
// letter other than these letters is regard as text in the format, for example ','in 'Jan,2005'
// different format: for example: M produces '1', MM produces '01', MMM produces 'Jan', MMMM produces 'January'
// letter other than these letters is regard as text in the format, for example ',' in 'Jan,2005'
// we parse pattern string letter by letter and get the time format.
UChar cSymbol;
UChar cTmp;