Skip to content

Date arithmetic - Adding a Date and a number #127

Description

@romaintailhurat

Some date arithmetics are already implemented in Trevas JS.

In the case of subtraction between two dates, the return type is an integer (eg seconds).

We would like to implement addition and subtraction between a date and a number with another date as the return type.

For example, with a DATE variable of 2023-09-29, we would like the resulting behavior:

DATE + 32023-10-02

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions