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

Recurring invoice daylight savings time anomaly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0.a5
    • Fix Version/s: 4.1.2, 4.2.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      When the invoice days before renewal option, and the renew date window overlaps with a daylight savings time change odd behavior is seen.

      In the case of a daily invoice, the invoice skips a day and is then be billed twice on the subsequent day. This pattern repeats until the time change occurs. It appears to generate the correct number of invoices overall, but not on the proper day. Once daylight savings actually rolls over, billing returns to normal. This was observed on March 10, 2013 when the clocks were changed forward 1 hour.

      This may also occur with recurring services, though it was not observed.

      The effect of this should be less substantial in most cases, as with monthly invoices an invoice may just be generated 1 day late during this window. It's an issue that needs to be resolved, but we did not find a solution at this time.

        Activity

        admin Paul Phillips created issue -
        cody Cody Phillips (Inactive) made changes -
        Field Original Value New Value
        Fix Version/s 3.0.0.b1 [ 10102 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0.b2 [ 10206 ]
        Fix Version/s 3.0.0.b1 [ 10102 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0.b3 [ 10207 ]
        Fix Version/s 3.0.0.b2 [ 10206 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0.b4 [ 10208 ]
        Fix Version/s 3.0.0.b3 [ 10207 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0.b5 [ 10209 ]
        Fix Version/s 3.0.0.b4 [ 10208 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0.b6 [ 10210 ]
        Fix Version/s 3.0.0.b5 [ 10209 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0.b7 [ 10211 ]
        Fix Version/s 3.0.0.b6 [ 10210 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.0 [ 10000 ]
        Fix Version/s 3.0.0.b7 [ 10211 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.1 [ 10212 ]
        Fix Version/s 3.0.0 [ 10000 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.2 [ 10213 ]
        Fix Version/s 3.0.1 [ 10212 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.3 [ 10214 ]
        Fix Version/s 3.0.2 [ 10213 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.4 [ 10215 ]
        Fix Version/s 3.0.3 [ 10214 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.5 [ 10300 ]
        Fix Version/s 3.0.4 [ 10215 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.6 [ 10301 ]
        Fix Version/s 3.0.5 [ 10300 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.7 [ 10302 ]
        Fix Version/s 3.0.6 [ 10301 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.0.8 [ 10304 ]
        Fix Version/s 3.0.7 [ 10302 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.1.1 [ 10306 ]
        Fix Version/s 3.0.8 [ 10304 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.1.2 [ 10403 ]
        Fix Version/s 3.1.1 [ 10306 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.1.3 [ 10405 ]
        Fix Version/s 3.1.2 [ 10403 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.1.4 [ 10500 ]
        Fix Version/s 3.1.3 [ 10405 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.2.1 [ 10504 ]
        Fix Version/s 3.1.4 [ 10500 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.2.2 [ 10505 ]
        Fix Version/s 3.2.1 [ 10504 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.2.3 [ 10506 ]
        Fix Version/s 3.2.2 [ 10505 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.3.0 [ 10508 ]
        Fix Version/s 3.2.3 [ 10506 ]
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 3.3.2 [ 10602 ]
        Fix Version/s 3.3.0 [ 10508 ]
        admin Paul Phillips made changes -
        Fix Version/s 3.3.3 [ 10604 ]
        Fix Version/s 3.3.2 [ 10602 ]
        cody Cody Phillips (Inactive) made changes -
        Fix Version/s 3.3.3 [ 10604 ]
        cody Cody Phillips (Inactive) made changes -
        Rank Ranked higher
        cody Cody Phillips (Inactive) made changes -
        Rank Ranked higher
        cody Cody Phillips (Inactive) made changes -
        Rank Ranked lower
        tyson Tyson Phillips (Inactive) made changes -
        Assignee Cody Phillips [ cody ] Jonathan Reissmueller [ jonathan ]
        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        This probably can be resolved with the Date helper since it's been updated to use the DateTime library, and can better set future dates in the given timezone to avoid it being off an hour when it crosses one of the daylight savings days. Of course, the issue will need to be replicated first to be sure it hasn't already been resolved.

        Show
        tyson Tyson Phillips (Inactive) added a comment - This probably can be resolved with the Date helper since it's been updated to use the DateTime library, and can better set future dates in the given timezone to avoid it being off an hour when it crosses one of the daylight savings days. Of course, the issue will need to be replicated first to be sure it hasn't already been resolved.
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.1.1 [ 11015 ]
        Fix Version/s 4.2.0-b1 [ 11014 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.2.0 Sprint 1 [ 44 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        Automated transition triggered when Jonathan Reissmueller created a branch in Stash -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 2 hours, 48 minutes [ 10080 ]
        Worklog Id 10215 [ 10215 ]
        Automated transition triggered when Jonathan Reissmueller created pull request #311 in Stash -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Time Spent 2 hours, 48 minutes [ 10080 ] 3 hours, 31 minutes [ 12660 ]
        Worklog Id 10250 [ 10250 ]
        tyson Tyson Phillips (Inactive) made changes -
        Time Spent 3 hours, 31 minutes [ 12660 ] 3 hours, 57 minutes [ 14220 ]
        Worklog Id 10256 [ 10256 ]
        jonathan Jonathan Reissmueller made changes -
        Time Spent 3 hours, 57 minutes [ 14220 ] 5 hours, 9 minutes [ 18540 ]
        Worklog Id 10257 [ 10257 ]
        tyson Tyson Phillips (Inactive) made changes -
        Time Spent 5 hours, 9 minutes [ 18540 ] 5 hours, 51 minutes [ 21060 ]
        Worklog Id 10270 [ 10270 ]
        tyson Tyson Phillips (Inactive) made changes -
        Time Spent 5 hours, 51 minutes [ 21060 ] 1 day, 47 minutes [ 31620 ]
        Worklog Id 10271 [ 10271 ]
        tyson Tyson Phillips (Inactive) made changes -
        Time Spent 1 day, 47 minutes [ 31620 ] 1 day, 3 hours, 7 minutes [ 40020 ]
        Worklog Id 10272 [ 10272 ]
        tyson Tyson Phillips (Inactive) made changes -
        Time Spent 1 day, 3 hours, 7 minutes [ 40020 ] 1 day, 6 hours, 7 minutes [ 50820 ]
        Worklog Id 10273 [ 10273 ]
        tyson Tyson Phillips (Inactive) made changes -
        Time Spent 1 day, 6 hours, 7 minutes [ 50820 ] 1 day, 6 hours, 48 minutes [ 53280 ]
        Worklog Id 10275 [ 10275 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.1.1 Sprint 1 [ 44 ] 4.2.0 Sprint 1 [ 46 ]
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.1.1 [ 11015 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        tyson Tyson Phillips (Inactive) made changes -
        Fix Version/s 4.1.2 [ 11016 ]
        tyson Tyson Phillips (Inactive) made changes -
        Time Spent 1 day, 6 hours, 48 minutes [ 53280 ] 1 day, 7 hours, 14 minutes [ 54840 ]
        Worklog Id 10325 [ 10325 ]
        tyson Tyson Phillips (Inactive) made changes -
        Sprint 4.2.0 Sprint 1 [ 46 ] 4.2.0 Sprint 1, 4.2.0 Sprint 2 [ 46, 47 ]
        tyson Tyson Phillips (Inactive) made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Time Spent 1 day, 7 hours, 14 minutes [ 54840 ] 2 days, 15 minutes [ 58500 ]
        Worklog Id 10331 [ 10331 ]
        jonathan Jonathan Reissmueller made changes -
        Time Spent 2 days, 15 minutes [ 58500 ] 2 days, 45 minutes [ 60300 ]
        Worklog Id 10331 [ 10331 ]
        Automated transition triggered when Tyson Phillips (Inactive) merged pull request #311 in Stash -
        Status In Review [ 5 ] Closed [ 6 ]
        jonathan Jonathan Reissmueller made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        jonathan Jonathan Reissmueller made changes -
        Original Estimate 0 minutes [ 0 ]
        Security Private [ 10000 ]
        jonathan Jonathan Reissmueller made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Oct/17

              Time Tracking

              Estimated:
              Original Estimate - 0 minutes
              0m
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 days, 45 minutes
              2d 45m

                Agile