Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0051215 | POS2 | POS | public | 2022-12-20 21:21 | 2022-12-21 10:14 |
|
Reporter | jlopez | |
Assigned To | jlopez | |
Priority | normal | Severity | trivial | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 23Q1 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0051215: Modify method to retrieve today's date at start of day |
Description | It is required to change the method to retrieve today's date at the beginning of the day to the new truncated method, created in the OBDateUtils.java class. |
Steps To Reproduce | * |
Proposed Solution | Replace the following statement:
Date.from(LocalDate.now().atStartOfDay(ZoneId.systemDefault()).toInstant());
For this:
OBDateUtils.truncate(new Date()); |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0049618 | | closed | jlopez | Openbravo ERP | Provide a method in OBDateUtils to retrieve todays date at start of day |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-12-20 21:21 | jlopez | New Issue | |
2022-12-20 21:21 | jlopez | Assigned To | => jlopez |
2022-12-20 21:21 | jlopez | Triggers an Emergency Pack | => No |
2022-12-20 21:34 | hgbot | Note Added: 0144851 | |
2022-12-21 09:50 | aferraz | Category | Core => POS |
2022-12-21 09:50 | aferraz | Type | backport => defect |
2022-12-21 09:50 | aferraz | Relationship added | related to 0049618 |
2022-12-21 10:14 | hgbot | Resolution | open => fixed |
2022-12-21 10:14 | hgbot | Status | new => closed |
2022-12-21 10:14 | hgbot | Fixed in Version | => 23Q1 |
2022-12-21 10:14 | hgbot | Note Added: 0144867 | |
2022-12-21 10:14 | hgbot | Note Added: 0144868 | |