Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029691 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] B. User interface | minor | always | 2015-04-23 19:35 | 2015-04-29 09:31 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | dbaz | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR15Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | e8bf5ea8a038 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2014-05-15 | |||||||
Regression introduced in release | 3.0PR14Q3 | |||||||
Regression introduced by commit | http://code.openbravo.com/erp/devel/pi/rev/43e598987eb706d4eac832d474b84a1d0b7ac958 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0029691: Is not possible to set the hour 12 in DateTime fields | |||||||
Description | Is not possible to set the hour 12 in DateTime fields, it is always being converted to 0 when the field loses the focus. | |||||||
Steps To Reproduce | 1) Go to the Work Effort window and create a new record in the header 2) Navigate to the Production Run tab 3) In the Starting Time field, type date and a hour with 12 for example: 04-23-2015 12:26:05 4) Move to another field. Notice that the Starting Time is changed to 04-23-2015 00:26:05 | |||||||
Proposed Solution | The parseEditorValue method uses the OB.Utilities.Date.OBToJS which is doing this conversion waiting for a PM indicator. As this indicator is not included it then makes the replacement. | |||||||
Tags | Approved | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0076829) hgbot (developer) 2015-04-28 12:53 |
Repository: erp/backports/3.0PR15Q2 Changeset: e8bf5ea8a0380c59908c83e62bed7ab59bddee6f Author: David Baz Fayos <david.baz <at> openbravo.com> Date: Tue Apr 28 12:07:49 2015 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/e8bf5ea8a0380c59908c83e62bed7ab59bddee6f [^] Fixed issue 29691: DateTime now works ok with 12:XX:XX times The root of the problem was that there was a 'typo' and the 'minus' sign was missing in the 'if' statement in charge of evaluate if it was in 24h mode or not. This was used later to substract 12h to the entered date if this was in the 12:XX:XX form, change that obviously doesn't apply in the 24h mode --- M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities-date.js --- |
(0076849) alostale (manager) 2015-04-29 09:31 |
code reviewed tested with 12 and 24 hour time format in grid and form views |
Issue History | |||
Date Modified | Username | Field | Change |
2015-04-24 11:43 | alostale | Type | defect => backport |
2015-04-24 11:43 | alostale | Target Version | => 3.0PR15Q2 |
2015-04-24 14:12 | dmitry_mezentsev | Tag Attached: Approved | |
2015-04-28 12:19 | dbaz | Review Assigned To | => alostale |
2015-04-28 12:53 | hgbot | Checkin | |
2015-04-28 12:53 | hgbot | Note Added: 0076829 | |
2015-04-28 12:53 | hgbot | Status | scheduled => resolved |
2015-04-28 12:53 | hgbot | Resolution | open => fixed |
2015-04-28 12:53 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR15Q2/rev/e8bf5ea8a0380c59908c83e62bed7ab59bddee6f [^] |
2015-04-29 09:31 | alostale | Note Added: 0076849 | |
2015-04-29 09:31 | alostale | Status | resolved => closed |
2015-04-29 09:31 | alostale | Fixed in Version | => 3.0PR15Q2 |
Copyright © 2000 - 2009 MantisBT Group |