Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
The DateTime class should allow us to calculate future dates from the term+period combination while saving date timestamps relative to the current timezone's daylight savings time.
For example, currently, a renew date of 2014-10-22 07:00:00 UTC in a -7 timezone renews next on a month term as 2014-11-22 07:00:00 UTC, but the local timezone had changed to -8 during that period. Using DateTime, that would be calculated as 2014-11-22 08:00:00 UTC instead.
I think we may be able to update the Date helper to use the DateTime library. Then where the service renews, make sure we use the Date helper.
Issue Links
- is duplicated by
-
CORE-2378 Update dates to use the Date helper
- Closed
The \Minphp\Date\Date class was updated to use the DateTime library, however, I see no need to update the service renew date calculation at this time, as I am unable to replicate the behavior described in the task. However,
CORE-2378should update the date modifications throughout the system.