You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/10/24 17:49:53 UTC

[Issue 126361] user-field of type date has wrong value with locale en/US

https://bz.apache.org/ooo/show_bug.cgi?id=126361

Charles <ca...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cadeeko@gmail.com

--- Comment #5 from Charles <ca...@gmail.com> ---
Bug Comment Notes:

Below are my configuration settings and steps and tests that I did to try to
reproduce issue.  I only managed to partially recreate the issue due to missing
replication steps.

Computer Settings:  

Macbook:
Operating system: OS X Yosemite version 10.10.5
Processor: 2 GHz Intel Core 2 Duo
Memory: 8 GB 1067 MHz DDR3

Language & Region Preferences:
Region:   United Kingdom
Calendar: Gregorian
Time format: 24-Hour Time

OpenOffice Version: Apache OpenOffice 4.1.1   (AOO411m6(Build:9775)  -  Rev.
1617669
2014-08-13 09:05:42 (Wed, 13 Aug 2014)
Addtional Information:
Attached examples document are downloaded in .odt (open office format) and not
.xml or dot format.

Steps to partially reproduce the bug.

Test 1:
1. Opened examples Documents (.odt) in open office.
2. Click on menu File, Send, create HTML document.
3. Create html document.
4. Open created html document in chrome browser

Result: date format is displayed as 07/08/3053 00:00:00 
This is for the following documents.
    date-userfield-decl-body.dot
        date-userfield-decl-style-and-body.dot
        date-userfield-decl-style-and-body-header-content.dot


Other tests I attempted.

Test 2:
1. Opened examples Documents (.odt) in open office.

Result 1:
date-userfield-decl-style.dot (userfield declaration only in style.xml)
contains 42134.5 in header and not "05/10/2015 12:00:00" or "10.05.2015
12:00:00

date-userfield-decl-body.dot (userfield declaration only in content.xml):
contains 42134.5 in header and not date format.

date-userfield-decl-style-and-body.dot
contains 42134.5 in header not date format.

date-userfield-decl-style-and-body-header-content.dot
contains 42134.5 in header & content and not date format not date format.


Test 3:
1. Change file format of files from .odt to .xml
2. Opened examples Documents (.odt) in open office.

Result: same as Test 2.


Test 3:
1. Opened examples Documents (.odt) in open office.
2. Save documents as an xml file such as
DocBook (.xml)
Microsoft (.xml)

Result: Open office crashes during saving of these documents.  

Note: I've attached the stack trace just for 'information' of this crash.  I
will raise a separate but report for this bug. 

Test 4: 
1. Opened examples Documents (.odt) in open office.
2. Double click on 42134.5
3. Edit Date to format.
4. Click on save.
Result:  Nothing happens.  Date still remains the same                  
42134.5 inside document.

-- 
You are receiving this mail because:
You are the assignee for the issue.