Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0049618 | Openbravo ERP | A. Platform | public | 2022-06-21 14:09 | 2022-07-05 13:59 |
|
Reporter | caristu | |
Assigned To | jlopez | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | PR22Q4 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0049618: Provide a method in OBDateUtils to retrieve todays date at start of day |
Description | It would be nice to have a method in the OBDateUtils to centralize the retrieval of today's date at the beginning of the date. This would help to centralize and avoid code duplication that needs to use this feature.
|
Steps To Reproduce | In description |
Proposed Solution | Create a new method in OBDateUtils with the following implementation:
return Date.from(LocalDate.now().atStartOfDay(ZoneId.systemDefault()).toInstant());
And use this method in those places duplicating this logic |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0049358 | | closed | caristu | Retail Modules | Support selecting the discounts to be loaded into a terminal by a store set based criteria | related to | defect | 0051215 | | closed | jlopez | POS2 | Modify method to retrieve today's date at start of day |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-06-21 14:09 | caristu | New Issue | |
2022-06-21 14:09 | caristu | Assigned To | => Triage Platform Base |
2022-06-21 14:09 | caristu | Modules | => Core |
2022-06-21 14:09 | caristu | Triggers an Emergency Pack | => No |
2022-06-21 15:19 | caristu | Relationship added | related to 0049358 |
2022-06-21 15:49 | caristu | Proposed Solution updated | |
2022-06-30 17:43 | hgbot | Note Added: 0138893 | |
2022-07-04 15:10 | hgbot | Note Added: 0139025 | |
2022-07-04 15:11 | aferraz | Assigned To | Triage Platform Base => jlopez |
2022-07-04 15:12 | aferraz | Status | new => scheduled |
2022-07-04 15:16 | aferraz | Note Added: 0139026 | |
2022-07-04 15:16 | aferraz | Status | scheduled => resolved |
2022-07-04 15:16 | aferraz | Fixed in Version | => PR22Q4 |
2022-07-04 15:16 | aferraz | Fixed in SCM revision | => c4fe8b2f3f48993efe0bd3b2069151466455bae8 |
2022-07-04 15:16 | aferraz | Resolution | open => fixed |
2022-07-04 15:16 | aferraz | Review Assigned To | => aferraz |
2022-07-04 15:16 | aferraz | Status | resolved => closed |
2022-07-04 15:16 | aferraz | Review Assigned To | aferraz => |
2022-07-04 15:16 | aferraz | Fixed in SCM revision | c4fe8b2f3f48993efe0bd3b2069151466455bae8 => |
2022-07-05 11:23 | hgbot | Note Added: 0139071 | |
2022-07-05 13:59 | hgbot | Note Added: 0139087 | |
2022-07-05 13:59 | hgbot | Note Added: 0139088 | |
2022-12-21 09:50 | aferraz | Relationship added | related to 0051215 |