Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016014Openbravo ERPA. Platformpublic2011-02-21 04:512011-03-09 16:55
elopio 
mtaal 
immediatecriticalalways
closedfixed 
30Professional Appliance
 
pi 
User Interface Application
No
0016014: Date fields on edit mode decrease by one day
When a date field is opened on edition mode, the field shows a day less than on view mode.
Switch to F&B International Group Admin role.
Go to Sales > Transactions > Sales Order

The first item has an order date 13-09-2010.
Click the 'edit on grid' button.
The field now shows 12-09-2010

Cancel the edition.
Click the 'open record' button.
The field in the form shows 12-09-2010 too.
No tags attached.
related to defect 00185613.0MP7 closed alostale Time reference showed incorrectly in Process Request window 
? out-2.ogv (172,683) 2011-03-07 17:17
https://issues.openbravo.com/file_download.php?file_id=3631&type=bug
Issue History
2011-02-21 04:51elopioNew Issue
2011-02-21 04:51elopioAssigned To => alostale
2011-02-21 04:51elopioModules => User Interface Application
2011-02-21 08:23alostaleStatusnew => scheduled
2011-02-21 08:23alostaleNote Added: 0034276
2011-02-21 08:23alostaleAssigned Toalostale => mtaal
2011-02-21 08:23alostalefix_in_branch => pi
2011-02-28 08:45mtaalNote Added: 0034379
2011-02-28 08:45mtaalStatusscheduled => closed
2011-02-28 08:45mtaalResolutionopen => unable to reproduce
2011-03-01 00:00anonymoussf_bug_id0 => 3195611
2011-03-07 17:17elopioNote Added: 0034623
2011-03-07 17:17elopioStatusclosed => new
2011-03-07 17:17elopioResolutionunable to reproduce => open
2011-03-07 17:17elopioFile Added: out-2.ogv
2011-03-09 12:38dmitry_mezentsevPrioritynormal => immediate
2011-03-09 12:38dmitry_mezentsevfix_in_branchpi =>
2011-03-09 13:37jpabloaeIssue Monitored: jpabloae
2011-03-09 13:44iperdomoStatusnew => scheduled
2011-03-09 13:44iperdomofix_in_branch => pi
2011-03-09 15:39hgbotCheckin
2011-03-09 15:39hgbotNote Added: 0034698
2011-03-09 15:39hgbotStatusscheduled => resolved
2011-03-09 15:39hgbotResolutionopen => fixed
2011-03-09 15:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e1c0ba4f475e74a7daa2014112e616232053723d [^]
2011-03-09 16:55elopioNote Added: 0034706
2011-03-09 16:55elopioStatusresolved => closed
2011-03-09 16:55elopioFixed in Version => pi
2011-12-12 11:50mtaalRelationship addedrelated to 0018561

Notes
(0034276)
alostale   
2011-02-21 08:23   
This is not happening to me. Could this be related with time zones?
(0034379)
mtaal   
2011-02-28 08:45   
Afaics this has been solved by other commits.

gr. Martin
(0034623)
elopio   
2011-03-07 17:17   
This is still happening to me with my timezone (GMT-6)
I changed the timezone to Spain, and it didn't happen. So, as alostale says, this seems like a timezone issue.
(0034698)
hgbot   
2011-03-09 15:39   
Repository: erp/devel/pi
Changeset: e1c0ba4f475e74a7daa2014112e616232053723d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Mar 09 08:38:21 2011 -0600
URL: http://code.openbravo.com/erp/devel/pi/rev/e1c0ba4f475e74a7daa2014112e616232053723d [^]

Fixes issue 16014: Date fields on edit mode decrease by one day

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-formitem-widgets.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-utilities-date.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/TimeUIDefinition.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonUtils.java
M modules/org.openbravo.userinterface.smartclient/web/org.openbravo.userinterface.smartclient/js/ob-smartclient.js
---
(0034706)
elopio   
2011-03-09 16:55   
I've just checked it on the most recent pi, and is working now.

Thanks.