Skip to content

Digit-only tags \d{3,7} does not start timetracking #731

@Spreadcat

Description

@Spreadcat

Hi,

I've got trouble using only digit tags.

The following command does not start time tracking

$ timew start 07:50 :adjust "foo" "bar" "1111"
Unrecognized date range: '<date> <duration>'.

Putting a character in front of it, fixes the issue

```shell
$ timew start 07:50 :adjust "foo" "bar" "b1111"
Unrecognized date range: '<date> <duration>'.
  • The length of the number must be between two and eight digits.
  • The position of the tag doesn't matter.
$ timew --version
1.9.1

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