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
Activity
Tyson Phillips (Inactive)
created issue -
Cody Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Story Points | 3 |
Paul Phillips
made changes -
Fix Version/s | 4.0.0-b2 [ 11001 ] | |
Fix Version/s | 4.0.0-b1 [ 10603 ] |
Paul Phillips
made changes -
Fix Version/s | 4.0.0-b3 [ 11002 ] | |
Fix Version/s | 4.0.0-b2 [ 11001 ] |
Paul Phillips
made changes -
Fix Version/s | 4.0.0-b4 [ 11003 ] | |
Fix Version/s | 4.0.0-b3 [ 11002 ] |
Paul Phillips
made changes -
Fix Version/s | 4.0.0-b5 [ 11004 ] | |
Fix Version/s | 4.0.0-b4 [ 11003 ] |
Paul Phillips
made changes -
Fix Version/s | 4.0.0-b6 [ 11005 ] | |
Fix Version/s | 4.0.0-b5 [ 11004 ] |
Paul Phillips
made changes -
Fix Version/s | 4.0.0-b7 [ 11009 ] | |
Fix Version/s | 4.0.0-b6 [ 11005 ] |
Paul Phillips
made changes -
Fix Version/s | 4.1.0 [ 11007 ] | |
Fix Version/s | 4.0.0 [ 11009 ] |
Tyson Phillips (Inactive)
made changes -
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. |
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. |
Tyson Phillips (Inactive)
made changes -
Rank | Ranked higher |
Tyson Phillips (Inactive)
made changes -
Sprint | 4.1.0 Sprint 2 [ 39 ] |
Tyson Phillips (Inactive)
made changes -
Assignee | Tyson Phillips [ tyson ] |
Tyson Phillips (Inactive)
made changes -
Assignee | Tyson Phillips [ tyson ] |
Tyson Phillips (Inactive)
made changes -
Tyson Phillips (Inactive)
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Fix Version/s | 4.1.0 [ 11007 ] | |
Resolution | Duplicate [ 3 ] |
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.