Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005290Openbravo ERPB. User interfacepublic2008-09-29 09:572009-02-10 02:30
plujan 
dbaz 
normalminorhave not tried
closedsuspended 
5
2.40 
 
Core
No
0005290: When entering dates with dd-mm-yy format are saved as dd-mm-00yy
On PostgreSQL, if I enter a date in a two year format, by example 21-09-08, it is saved on database as 21-09-0008.
1. Go Sales Order and create a new one.
2. On Order Date field enter 21-09-08
3. Note that no AJAX warning is shown.
4. Save
5. The Order is saved, but date changed to 21-09-0008
*2-digit year dates should be managed using a 100 year range. By example, dates between 1920 and 2019 are interpreted correctly when written in 2-digit format

*Display a proper warning message like "This date is probably wrong" for strange dates like year before 1900 or dates 50 years away from current year, so the user could continue at his/her own risk.

*Do not allow user to enter less than 4 digit on years
No tags attached.
blocks defect 0005273 closed dbaz When entering dates with dd-mm-yy format are saved as dd-mm-00yy 
Issue History
2008-09-29 09:57psarobeNew Issue
2008-09-29 09:57psarobeAssigned To => dbaz
2008-09-29 09:57psarobeStatusnew => scheduled
2009-02-10 02:30dbazRegression testing => No
2009-02-10 02:30dbazStatusscheduled => closed
2009-02-10 02:30dbazNote Added: 0013282
2009-02-10 02:30dbazResolutionopen => suspended

Notes
(0013282)
dbaz   
2009-02-10 02:30   
Since it is a minor bug (almost a feature request) with few impact but huge risk, it won't be backported