Issue 22410 - OO changes date field value from "2003-11-13" to "11/13/03"
Summary: OO changes date field value from "2003-11-13" to "11/13/03"
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1
Hardware: All All
: P4 Trivial with 3 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-13 08:32 UTC by vytis
Modified: 2013-08-07 14:38 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
OO 1.1; Win2000; locale:lithuanian; Default document language: English(USA); (5.26 KB, application/octet-stream)
2003-11-18 08:19 UTC, vytis
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description vytis 2003-11-13 08:32:16 UTC
OO changes date field value from "2003-11-13" to "11/13/03".

This seriuos problem, because in Lithuania second variant means: year - 2001,
month - 13, day - 03. 
"11/13/03" you can read and understand.  

But next year, if i write "Important meeting - 2004-03-04", OO will convert it
to "Important meeting - 04/02/04". For lithuanians it means, that meaating will
be in  4th of February.  

Steps to reproduce:
1. Open OO text document
2. menu : "Insert->Fields->Other"
3. select "type: date", "Select:date", "Format:1999-12-31"
4. OO inserts date in selected fomat ("2003-11-13")
5. save and close document
6. open the same document
7. BUG: wrong date format "11/13/03"
Comment 1 ramuva 2003-11-14 06:21:51 UTC
*** This issue has been confirmed by popular vote. ***
Comment 2 h.ilter 2003-11-14 11:46:40 UTC
Reassigned to ES
Comment 3 eric.savary 2003-11-17 11:39:31 UTC
I cannot reproduce it.
Please describe the language you choose in the format dialog, the OOo
localization language, the document language (i.e provide a sample
document)

Notice: this is a P3 not a P1.
Comment 4 vytis 2003-11-18 08:17:49 UTC
Win2000 pro
locale: lithuanian
OO Language settings:
- Locale setting - default
- Default lannguage for documents : Western - English (USA)

I used "YYYY-MM-DD" date format in document where default language was
English (USA).
My question, i have choosen date format, why OO it reformats using
default format? 
From another side, If OO reformats date field, why OO allows to me to
choose different date format?

Note to Steps to reproduce:
3rd. step. I selected 12th row in format column.

Comment 5 vytis 2003-11-18 08:19:29 UTC
Created attachment 11365 [details]
OO 1.1; Win2000; locale:lithuanian; Default document language: English(USA);
Comment 6 egle 2003-12-01 18:36:59 UTC
I can reproduce this bug with OOo 1.1 on Linux
Comment 7 eric.savary 2003-12-16 17:40:06 UTC
ES->DVO:
- system locales: Lithuanian
- Document language: English US
- insert a date field with format YYYY-MM-DD
-> is correct displayed
- save
- reload
-> the field has the format MM/DD/YY

Resetting the format to YYYY-MM-DD does not work directly
The content.xml shows the correct format YYYY-MM-DD.
Please check with OS/ER what's wrong.

ES->Community: This problem knows 2 work arounds:
1. Insert - Fields - Date
2. in the "Format" liste choose "Additional formats"
3. set the language to Lithuanian
4. choose YYYY-MM-DD as format
-> format will be correctly displayed after reload

OR
1. Insert - Fields - Date
2. choose YYYY-MM-DD as format
3. close the Fields dialog
4. select the field
5. Format - Character - Language - Lithuanian
-> format will be correctly displayed after reload
Comment 8 michael.ruess 2004-05-06 15:51:26 UTC
Cannot be fixed in time for OO 2.0.
Comment 9 mathiasm 2010-07-02 22:04:09 UTC
Cannot reproduce in OOo3.2

- system locales: French
- Document language: English US
- insert a date field with format YYYY-MM-DD
-> is correct displayed
- save
- reload
-> the field has the format YYYY-MM-DD
Comment 10 Rob Weir 2013-07-30 02:15:26 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.