taskwarrior icon indicating copy to clipboard operation
taskwarrior copied to clipboard

eocm, End of current month is not recognized.

Open benibilme opened this issue 1 year ago • 1 comments

  • command run: task add do something due:eocm
  • expectation: A task should have been created with due date end of current month based on the documentation at Taskwarrior Documantation - Named Dates
  • received error: 'eocm' is not a valid date in the 'Y-M-D' format.
  • task diag output :
task 2.6.2
   Platform: Linux

Compiler
    Version: 13.1.1 20230429
       Caps: +stdc +stdc_hosted +LP64 +c8 +i32 +l64 +vp64 +time_t64
 Compliance: C++17

Build Features
      CMake: 3.26.3
    libuuid: libuuid + uuid_unparse_lower
  libgnutls: 3.8.0
 Build type: 

Configuration
       File: /home/user/.config/task/taskrc (found), 3241 bytes, mode 100700
       Data: /home/user/.config/task/task (found), dir, mode 40700
    Locking: Enabled
         GC: Enabled
  rc.editor: lvim
     Server: server.family.home:53589
         CA: /home/user/.config/task/task/ca.cert.pem, readable, 3674 bytes
Certificate: /home/user/.config/task/task/client.cert.pem, readable, 3670 bytes
        Key: /home/user/.config/task/task/client.key.pem, readable, 24754 bytes
      Trust: strict
    Ciphers: NORMAL
      Creds: family.home/user/************************************

Hooks
     System: Enabled
   Location: /home/user/.config/task/task/hooks
     Active: on-modify.timewarrior (executable)
   Inactive: 

Tests
   Terminal: 177x105
       Dups: Scanned 657 tasks for duplicate UUIDs:
             Found duplicate 400fe6f8-0081-4ac0-af7d-fa125d470aae
             Found duplicate bc36a12e-a15f-4a23-a082-b9bc04a93458
             Found duplicate 014ac8ec-2227-41d6-9a56-1022f45e930e
             Found duplicate 751c73cb-160f-4b70-8769-99cf40698dea
             Found duplicate 21aa6b21-2264-4237-a11b-2c124659aae4
             Found duplicate 125722e5-6a78-440d-811f-d96bb82f8a2f
 Broken ref: Scanned 657 tasks for broken references:
             No broken references found

benibilme avatar Feb 22 '24 12:02 benibilme

yes by me it also seems to not be available, shell completion suggests following dates:

task 76 mod due:socq
ascension       -- Ascension
easter          -- Easter
eastermonday    -- Easter Monday
eocw            -- End of calendar week
eom             -- End of month
eoq             -- End of quarter
eow             -- End of week
eoww            -- End of work week
eoy             -- End of year
fri             -- Friday
goodfriday      -- Good Friday
later           -- Later
midsommarafton  -- Midsommarafton
midsommar       -- Midsommar
mon             -- Monday
pentecost       -- Pentecost
sat             -- Saturday
socw            -- Start of calendar week
someday         -- Some Day
som             -- Start of month
soq             -- Start of quarter
sow             -- Start of week
soww            -- Start of work week
soy             -- Start of year
sun             -- Sunday
thu             -- Thursday
today           -- Today
tomorrow        -- Tomorrow
tue             -- Tuesday
wed             -- Wednesday
yesterday       -- Yesterday

Which would mean socq, eocq, socm, eocm seam to be missing.

felixschurk avatar Feb 23 '24 22:02 felixschurk