Bug 20061 - Can not set data format to a cell style which consist from date and time (e.g : m/d/yy h:mm:ss), problem with time
Summary: Can not set data format to a cell style which consist from date and time (e.g...
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-20 14:29 UTC by Ran Leitman
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ran Leitman 2003-05-20 14:29:26 UTC
when trying to set cell style format to m/d/yy h:mm then cell value in excel is 
fine. 
but setting format to m/d/yy h:mm:ss then seconds does not appear.

HSSFCellStyle dateCellStyle;
dateCellStyle.setDataFormat(HSSFDataFormat.getBuiltinFormat("m/d/yy h:mm:ss"));
Comment 1 Andy Oliver 2003-07-24 16:38:20 UTC
This looks more like a question than a bug.  Get on the mail list.