Skip to content

Understand that the second time value is in the future #14

@KennethSundqvist

Description

@KennethSundqvist

I often use two time values to calculate between today and tomorrow, but the calculator always treat both time values as the same day, no matter which order they are in.

Both dcalc 01:00 - 22:00 and dcalc 22:00 - 01:00 result in 21 hours. I expect the latter to result in 3 hours.

If I include the dates for today and tomorrow, like dcalc 2019-05-10@22:00 - 2019-05-11@01:00, i get 3 hours.

And using the @time format with date keywords, like today@22:00, doesn't work, so I always have to type the full date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions