Red Hat Bugzilla – Bug 169338
date format changes on csv export from calc
Last modified: 2007-11-30 17:11:14 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050909 Fedora/1.0.6-1.2.fc4 Firefox/1.0.6
Description of problem:
The date format displayed on screen is not the one that gets saved to the file when I save as csv.
When I then tried changing the column type to text, it changed the fields to "38565" (for the 2005-08-01 example above) or similar. Weird.
I also tried loading the csv file in, altering the date format, saving to a new file, but same results.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Load an xls file into OpenOffice Calc
2.Select a column, right-click, choose format cells, choose date then 1999-12-31.
3.File|Save As, choose csv as the file type, and save.
4.View the csv file in a text editor.
Actual Results: Dates appear in csv file as 08/01/2005 (they still show as 2005-08-01 in the Calc window)
Expected Results: Date should appear as 2005-08-01
*** This bug has been marked as a duplicate of 166664 ***