!days token shows negative number

Description

Environments

  • Test

  • Stage

  • Production

Error

When using the !days token in communication (automatic with communication templates or manually), the token should be replaced with “Number of days until task date”.

So for a task on April 19th 2024 the token should be replaced with “10” if it is sent out on April 10th 2024.

Instead the correct number is replaced by a negative number.

Steps to reproduce

  1. Send a manual message where you use the !days token

  2. See negative number in received message

  3. See negative number in Communication log - for example where “-17” is the !days token.

Acceptance criteria

None

How to test

None

Attachments

1

Activity

Show:

Mogens Kjeldsen 3 April 2024 at 09:17

Tested and approved

Fixed

Details

Assignee

Reporter

Priority

Created 12 March 2024 at 10:13
Updated 4 April 2024 at 13:55
Resolved 4 April 2024 at 13:55