Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0027636 | Openbravo ERP | A. Platform | public | 2014-09-18 12:44 | 2014-09-26 11:44 |
|
Reporter | caristu | |
Assigned To | AugustoMauch | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0PR14Q4 | Fixed in Version | 3.0PR14Q4 | |
Merge Request Status | |
Review Assigned To | shankarb |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | 30627 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0027636: Absolute Date Time fields are not handling properly DST changes of the timezone |
Description | Absolute Date Time and Absolute Time fields are not handling properly the clock changes in the timezone |
Steps To Reproduce | 1) Create a new column of type Absolute Date Time and create its corresponding field.
2) Having the client in GMT+2, try to set the following date time: 26-10-2014 01:00:00. Notice that the data changes when saving the record to 26-10-2014 02:00:00. This is happening because the DST change in 2014 for GMT+2 is on 26-10-2014.
3) The same behavior occurs for Absolute Time fields. |
Proposed Solution | It should be taken into account if the timezone changes when converting the dates: http://wiki.openbravo.com/wiki/Projects/Absolute_DateTime_Reference/Technical_Documentation#Logic_related_explanation [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0027510 | 3.0PR14Q4 | closed | AugustoMauch | Absolute Time is not displaying the absolute time when the timezone changes |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2014-09-18 12:44 | caristu | New Issue | |
2014-09-18 12:44 | caristu | Assigned To | => AugustoMauch |
2014-09-18 12:44 | caristu | OBNetwork customer | => Yes |
2014-09-18 12:44 | caristu | Modules | => Core |
2014-09-18 12:44 | caristu | Support ticket | => 30627 |
2014-09-18 12:44 | caristu | Resolution time | => 1411768800 |
2014-09-18 12:44 | caristu | Triggers an Emergency Pack | => No |
2014-09-18 12:44 | caristu | Issue Monitored: networkb | |
2014-09-18 12:56 | caristu | Relationship added | related to 0027510 |
2014-09-18 13:04 | caristu | version | => pi |
2014-09-18 13:04 | caristu | Target Version | => 3.0PR14Q4 |
2014-09-22 14:32 | inigosanchez | Assigned To | AugustoMauch => inigosanchez |
2014-09-23 09:54 | inigosanchez | Assigned To | inigosanchez => shankarb |
2014-09-24 19:14 | AugustoMauch | Assigned To | shankarb => AugustoMauch |
2014-09-24 19:46 | AugustoMauch | Issue Monitored: shankarb | |
2014-09-24 19:46 | AugustoMauch | Review Assigned To | => shankarb |
2014-09-24 19:47 | AugustoMauch | Note Added: 0070323 | |
2014-09-24 19:49 | hgbot | Checkin | |
2014-09-24 19:49 | hgbot | Note Added: 0070324 | |
2014-09-24 19:49 | hgbot | Status | new => resolved |
2014-09-24 19:49 | hgbot | Resolution | open => fixed |
2014-09-24 19:49 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/509bb26b8f7edc38293b7c97bef0371fb9bd2b8e [^] |
2014-09-25 11:30 | hudsonbot | Checkin | |
2014-09-25 11:30 | hudsonbot | Note Added: 0070362 | |
2014-09-26 11:44 | shankarb | Note Added: 0070432 | |
2014-09-26 11:44 | shankarb | Status | resolved => closed |
2014-09-26 11:44 | shankarb | Fixed in Version | => 3.0PR14Q4 |
Notes |
|
|
Not a risky fix, because the correction is only applied when the timezone offset of the date changes, and that will only happen for a very reduced number of hours in a year. |
|
|
(0070324)
|
hgbot
|
2014-09-24 19:49
|
|
Repository: erp/devel/pi
Changeset: 509bb26b8f7edc38293b7c97bef0371fb9bd2b8e
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Sep 24 19:43:54 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/509bb26b8f7edc38293b7c97bef0371fb9bd2b8e [^]
Fixes issue 27636: Absolute Date Time field works properly with offset change
The problem was that if the date selected in an absolute datetime field was very close to a timezone offset change, the date was automatically changed. The original entered date was modified in the OB.Utilities.Date.addTimezoneOffset function. Now, if inside this function the date timezone offset is modified, the proper correction is applied.
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities-date.js
---
|
|
|
|
|
|
(0070432)
|
shankarb
|
2014-09-26 11:44
|
|
Code reviewed and verified in pi changeset 653cc6909012. |
|