summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorKevin Suo <suokunlong@gmail.com>2014-12-05 12:48:48 +0800
committerAndras Timar <andras.timar@collabora.com>2014-12-13 16:01:00 +0100
commit30aa7ec8f652bae86443365c48445ca7377e7b3d (patch)
tree38a7856318a4958f29b9a02afd3d0db38d921f2d /i18npool
parentc3f3d132b755c45bd6fb43b27092916fa2565624 (diff)
fdo#83752: date-time cell becomes text string when editing, zh_CN locale
In the locale data xml file, formatindex 47 is used for date-and-time editing. If the format code does not match the defined date/time separators, it will cause the cell value to be treated as string text (rather than a date time value). Change-Id: I75a59d943d832f28a0a6153a17e6f671e5328abd Reviewed-on: https://gerrit.libreoffice.org/13306 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit d00a3722b46314c927ba392a31fe4ff5ebc5c0b5) Reviewed-on: https://gerrit.libreoffice.org/13313
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/data/zh_CN.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/localedata/data/zh_CN.xml b/i18npool/source/localedata/data/zh_CN.xml
index e58c59a2d390..cca9d3fdecc9 100644
--- a/i18npool/source/localedata/data/zh_CN.xml
+++ b/i18npool/source/localedata/data/zh_CN.xml
@@ -225,7 +225,7 @@
<FormatCode>YYYY"年"MM"月"D"日"HH"时"MM"分"SS"秒"</FormatCode>
</FormatElement>
<FormatElement msgid="DateTimeFormatskey3" default="false" type="long" usage="DATE_TIME" formatindex="47">
- <FormatCode>YY"年"M"月"D"日"HH"时"MM"分"</FormatCode>
+ <FormatCode>YYYY/MM/DD HH:MM:SS</FormatCode>
</FormatElement>
<FormatElement msgid="DateTimeFormatskey1" default="false" type="long" usage="DATE_TIME" formatindex="58">
<FormatCode>M/D/YY HH:MM</FormatCode>