Apache OpenOffice (AOO) Bugzilla – Issue 6794
Text CSV import doesn't work with dates in September
Last modified: 2013-08-07 15:15:32 UTC
When attempting to open fixed-width text files using "Text CSV" where dates are of the form "DD-MON-YYYY", all dates import correctly except those where MON is "SEP" (very weird). Date columns were defined in the "Fields" section of the "Import" dialog as "Date (DMY)".
Hi Steve, please attach such a file using the 'Create new attachment' Link above. Thanks for your cooperation. Frank
Created attachment 2446 [details] Test case for issue 6794
I take it
Hi Steve, this is that the english default short letter code for September is SEPT and not SEP. So the numberformat recognizes all other 3 Letter codes as Months correctly but do not know the SEP and assumes this is text. Hi Eike, as discussed this one is for you. Frank
Generally, though, when you generate dates in a fixed-width text from a database like Oracle or PostgreSQL using a date format string "DD-MON-YYYY" you end up with the 3-character month for all cases. It was just such a file, generated from an Oracle database, that alerted me to the problem. I would suggest that it may be best to take the approach adopted by PostgreSQL and support both "Sept" and "Sep" for September. Steve.
Hi Steve, thats exactly what Eike and I have discussed ;-)) . As Eike has to implement it, the Issue isassigned to him. Have fun Frank
fixed in: SRC641: svtools/source/numbers/zforfind.cxx 1.22.2.2 sc/source/ui/docshell/impex.cxx 1.18.8.1 SRX643: svtools/source/numbers/zforfind.cxx 1.24 sc/source/ui/docshell/impex.cxx 1.20
*** Issue 8942 has been marked as a duplicate of this issue. ***
pending, join to OOO_STABLE_1 branch
reopen to reassign
reassign to QA
restore status
Closed as I've verified it in OOo1.0.2 Frank