To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83023
Issue #|83023
Summary|DateTime fields lose date information when imported fr
|om MS-XML via XSLT
Component|Spreadsheet
Version|OOo 2.3
Platform|All
URL|
OS/Version|All
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P2
Subcomponent|open-import
Assigned to|spreadsheet
Reported by|slowfox71
------- Additional comments from [EMAIL PROTECTED] Fri Oct 26 19:10:31 +0000
2007 -------
When importing a MS-XML spreadsheet containing DateTime fields, only the time
portion is imported, date information is lost irrecoverably. A small sample
file is:
------------------------------------------------------------------
<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<ss:Styles>
<ss:Style ss:ID="prefaceDate">
<ss:NumberFormat ss:Format="DD.MM.YYYY, hh:mm" />
</ss:Style>
</ss:Styles>
<Worksheet>
<ss:Table>
<ss:Row>
<ss:Cell ss:StyleID="prefaceDate">
<ss:Data ss:Type="DateTime">2007-10-26T15:42:42</ss:Data>
</ss:Cell>
</ss:Row>
</ss:Table>
</Worksheet>
</Workbook>
---------------------------------------------------------------------
The problem seems to be located in
share/xslt/import/spreadsheet/spreadsheetml2000.xsl around line 6665,
where either the date or the time from the original file is used, but
not both parts.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]