Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-12094

Fix DateWrapper when doing successive increments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF21, 5.7.2
    • Component/s: Automation

      Description

      Successive calls to DateWrapper.seconds(XX) will accumulute the amount of seconds in the inner calendar, instead of handling each operation separately

      For instance, running this operation at noon

      @{CurrentDate.seconds(-300)}
      

      will return 11:55.
      Then running

      @{CurrentDate.seconds(60)}
      

      will return 11:56, instead of 12:01

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: