Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1485

Use DateTime class to calculate service renew dates

    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

          Activity

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile