Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0049618 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | have not tried | 2022-06-21 14:09 | 2022-07-05 13:59 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | jlopez | |||||||
Priority | high | Resolution | fixed | Fixed in Version | PR22Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||
|
Notes | |
(0138893) hgbot (developer) 2022-06-30 17:43 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/632 [^] |
(0139025) hgbot (developer) 2022-07-04 15:10 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/632 [^] |
(0139026) aferraz (manager) 2022-07-04 15:16 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] [^] Changeset: c4fe8b2f3f48993efe0bd3b2069151466455bae8 Author: Javier López <javier.lopez@openbravo.com> Date: 04-07-2022 15:12:00 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/c4fe8b2f3f48993efe0bd3b2069151466455bae8 [^] [^] Fixes issue 49618: Provides a method in OBDateUtils to retrieve a date at start of day |
(0139071) hgbot (developer) 2022-07-05 11:23 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/636 [^] |
(0139087) hgbot (developer) 2022-07-05 13:59 |
Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: ca1fb5f11674ee82f0f40d514df13fd3b4441bf0 Author: Javier López <javier.lopez@precognis.com> Date: 05-07-2022 11:59:51 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/ca1fb5f11674ee82f0f40d514df13fd3b4441bf0 [^] Related to ISSUE-49618: Fix copyright --- M src-test/src/org/openbravo/erpCommon/utility/OBDateUtilsTest.java --- |
(0139088) hgbot (developer) 2022-07-05 13:59 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/636 [^] |
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 |
Copyright © 2000 - 2009 MantisBT Group |