Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024683Openbravo ERPA. Platformpublic2013-09-04 09:102014-05-20 13:09
caristu 
shankarb 
highminoralways
closedduplicate 
5
 
 
Core
No
0024683: Some java date patterns are not supported in Openbravo.properties
The KK pattern (Hour in am/pm (0-11)) can't be used in the dateTimeFormat.java in the Openbravo.properties file
1) Configure Openbravo.properties with the following java date time format: dateTimeFormat.java=dd-MM-yyyy KK:mm:ss a (This format is configured automatically when selecting the 12 h time format in the setup graphical interface)

2) Log-in in the erp, and navigate to a window which has a field with the dateTime format, for example [Process Monitor]. Click on any record.

3) Notice that the following error appers in the log: org.openbravo.client.application.window.FormInitializationComponent - Couldn't get data for column End_Time
org.openbravo.base.exception.OBException: java.text.ParseException: Unparseable date: "04-09-2013"
No tags attached.
duplicate of feature request 00259363.0PR14Q3 closed dbaz DateTime reference format support hh:mm:ss a 
related to design defect 0024791 closed AugustoMauch Is not possible to apply a format different from the standard format for Time fields 
related to design defect 0025155 new AugustoMauch Java Date Format are not supported. 
Issue History
2013-09-04 09:10caristuNew Issue
2013-09-04 09:10caristuAssigned To => AugustoMauch
2013-09-04 09:10caristuModules => Core
2013-09-04 09:10caristuTriggers an Emergency Pack => No
2013-09-04 09:10caristuIssue Monitored: networkb
2013-09-04 10:56caristuTypedesign defect => defect
2013-09-04 10:56caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4991#r4991
2013-09-04 11:01caristuResolution time => 1380837600
2013-09-04 11:01caristuTarget Version => 3.0MP28
2013-09-05 09:35AugustoMauchAssigned ToAugustoMauch => shankarb
2013-09-18 12:18caristuRelationship addedrelated to 0024791
2013-09-23 16:40jonalegriaesarteNote Added: 0061358
2013-09-23 16:40jonalegriaesarteTarget Version3.0MP28 => 3.0MP29
2013-10-14 10:24caristuTypedefect => design defect
2013-10-18 13:22AugustoMauchTarget Version3.0MP29 =>
2014-01-09 18:38ngarciaIssue Monitored: ngarcia
2014-01-14 13:48alostaleRelationship addedrelated to 0025155
2014-03-17 08:18alostaleRelationship addedrelated to 0025936
2014-03-18 11:00caristuRelationship addedrelated to 0026029
2014-03-25 16:56caristuRelationship deletedrelated to 0026029
2014-05-20 13:09alostaleRelationship replacedduplicate of 0025936
2014-05-20 13:09alostaleNote Added: 0067309
2014-05-20 13:09alostaleStatusnew => closed
2014-05-20 13:09alostaleResolutionopen => duplicate

Notes
(0061358)
jonalegriaesarte   
2013-09-23 16:40   
Needs to be reviewed in depth to decide if it can be managed as a defect, or we need to change the whole implementation and needs to be managed as a design defect
(0067309)
alostale   
2014-05-20 13:09   
Starting from PR14Q3 AM/PM format is supported by

dateTimeFormat.java=MM-dd-yyyy hh:mm:ss a