diff options
author | Eike Rathke <erack@redhat.com> | 2021-09-23 01:20:57 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-09-23 10:28:11 +0200 |
commit | cda7dff78a113a18cdcc23274454cfef982a17c2 (patch) | |
tree | a2fe9c8d364dfa66ba3e40d62785619c6bc82c9b /svx/source | |
parent | 77b23d1b5979ce65058f845f73cb48894ba68325 (diff) |
Add not-quite-ISO date+time with space and milliseconds and locale's separator
NF_DATETIME_ISO_YYYYMMDD_HHMMSS000
YYYY-MM-DD HH:MM:SS.000
Users may expect to see that if they enter such, instead of the
real ISO 8601 "T" format.
Change-Id: Iad81750d1c74eedd8d4360163b29ecac98ef6824
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122502
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/items/numfmtsh.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index 30f76ab3afb9..e3c4b0fe7e4e 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -719,6 +719,7 @@ bool SvxNumberFormatShell::IsEssentialFormat_Impl(SvNumFormatType eType, sal_uIn case NF_DATETIME_SYS_DDMMYYYY_HHMM: case NF_DATETIME_SYS_DDMMYYYY_HHMMSS: case NF_DATETIME_ISO_YYYYMMDD_HHMMSS: + case NF_DATETIME_ISO_YYYYMMDD_HHMMSS000: case NF_DATETIME_ISO_YYYYMMDDTHHMMSS: case NF_DATETIME_ISO_YYYYMMDDTHHMMSS000: return true; |