Bug 51115

Summary: Date format string like "dd\.mm\.yyyy;@" is not handled correctly.
Product: POI Reporter: Wu, Fan <zjuwufan>
Component: POI OverallAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.8-dev   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Attachments: proposed patch to fix this bug.

Description Wu, Fan 2011-04-25 04:54:47 UTC
For cell A2 in the attached file, its fmt code is "dd\.mm\.yyyy;@". When I tried to call DateFormatter.getFormat(Cell cell) to get the corresponding Format, the backslash was not unescaped.
Comment 1 Wu, Fan 2011-04-25 04:57:27 UTC
Created attachment 26933 [details]
proposed patch to fix this bug.
Comment 2 Nick Burch 2011-05-03 05:42:38 UTC
Thanks, applied (with slight tweak + unit test) in r1098917.