Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051215
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POStrivialhave not tried2022-12-20 21:212022-12-21 10:14
ReporterjlopezView Statuspublic 
Assigned Tojlopez 
PrioritynormalResolutionfixedFixed in Version23Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0051215: Modify method to retrieve today's date at start of day

DescriptionIt 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 SolutionReplace the following statement:

Date.from(LocalDate.now().atStartOfDay(ZoneId.systemDefault()).toInstant());

For this:

OBDateUtils.truncate(new Date());
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049618 closedjlopez Openbravo ERP Provide a method in OBDateUtils to retrieve todays date at start of day 

-  Notes
(0144851)
hgbot (developer)
2022-12-20 21:34

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1426 [^]
(0144867)
hgbot (developer)
2022-12-21 10:14

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: fc6ff92279de3018ca10f25610aa89c40a357075
Author: Javier López <javier.lopez@precognis.com>
Date: 20-12-2022 21:31:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/fc6ff92279de3018ca10f25610aa89c40a357075 [^]

Fixes ISSUE-51215: Modify method to retrieve today's date at start of day

---
M src/org/openbravo/pos2/event/RegularStoreSetEventHandler.java
M src/org/openbravo/pos2/process/ImportStoreSet.java
---
(0144868)
hgbot (developer)
2022-12-21 10:14

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1426 [^]

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker