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

Stéphane Guillou (stragu) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard| QA:needsComment            |
            Summary|variable and user field     |variable and user field
                   |input field mishandles      |input field mishandles
                   |datetime when a locale is   |datetime when a locale's
                   |active                      |format is active
                 CC|                            |stephane.guillou@libreoffic
                   |                            |e.org
             Blocks|                            |107575, 129294
     Ever confirmed|0                           |1
            Version|7.4.5.1 release             |Inherited From OOo
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Stéphane Guillou (stragu) 
<[email protected]> ---
Thanks Peter!

Starting from a default document language of en-AU, I reproduced with the
steps:
1. Insert > Field > More Fields... > Variables tab > User Field type >
Additional formats...
2. In the Format Number dialog that opened: Category = Time, Language =
Hungarian, Format = 1999-12-31 13:37:46,000
3. The format code does use the comma, but the preview shows: 1896-08-12
10:22:14.293
4. Press OK
5. Give Name "test_hun" and Value "1999-01-01 12:00", click green tick then
Insert.

Result: in-document field displayed as "1899-12-30 00:00:00,000"

Note that the date is wrong as well when using the format without decimals.

Versions:

Version: 7.4.6.2 / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Same in master build from today.

Already the case in OOo 3.3, even though the preset doesn't have decimals.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107575
[Bug 107575] [META] Number format bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=129294
[Bug 129294] [META] Variable field bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to