Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002766Openbravo ERPB. User interfacepublic2008-03-26 19:132008-11-06 12:18
jpabloae 
dbaz 
normalminoralways
closedfixed 
5
 
2.40 
No
Core
No
0002766: Incorrect dojo validation with some date formats
When using a different date format, such as:

  dateFormat.js=%Y.%m.%d
  dateFormat.sql=YYYY.MM.DD
  dateFormat.java=yyyy.MM.dd
  dateTimeFormat.java=yyy.MM.dd HH:mm:ss

It seems that the Dojo validation does not support a date format other than DD-MM-YYY, because it always displays the red error balloon.
No tags attached.
depends on backport 0003674 closed dbaz [1926384] Failures with some date formats 
Issue History
2008-11-06 12:18psarobeRegression testing => No
2008-11-06 12:18psarobeStatusresolved => closed
2008-11-06 12:18psarobeFixed in Version2.40alpha-r2 => 2.40

Notes
(0006355)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1926382 [^]
(0003376)
dbaz   
2008-04-08 20:18   
(edited on: 2008-06-12 09:25)
Logged In: YES
user_id=1500873
Originator: NO

Fixed in commit 3351 in keyshortcuts branch

Description: Changed date verification to let more date formats

File(s) changes:
* web/js/default/DateTextBox.js
* web/js/dojo/dojo.js
* web/js/openbravo/widget/DateTextbox.js
* web/js/utils.js