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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049618
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2022-06-21 14:092022-06-21 15:49
ReportercaristuView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049618: Provide a method in OBDateUtils to retrieve todays date at start of day

DescriptionIt 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 ReproduceIn description
Proposed SolutionCreate 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049358 newcaristu Retail Modules Support selecting the discounts to be loaded into a terminal by a store set based criteria 

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker