On Mon, 1 Dec 2025 19:45:07 -0600
Tim Chase via Remind-fans <[email protected]> wrote:

>   $ rem -gaada -q '*2'
                     ^^<----- this is the clue...

You have no delta on your reminders.  The first one triggers only
on Dec 1.  The second triggers only on Dec 2.  Because of the '*2',
Remind is run twice:  Once with today() set to Dec 1 and a second time
with today() set to Dec 2.  So sortbanner's output is 100% correct.
Each reminder really is triggered "today".

Two ways to fix it:  (1), compare against realtoday() instead of
today(), or (2) add a delta to your reminders:

    # --- /tmp/x.rem ---
    FSET sortbanner(x) iif(x == today(),\
      "*** TODAY: " + x + " ***",\
      "--- %b: " + x + " ---")
    REM Dec 1 +3 MSG first
    REM Dec 2 +3 MSG second

    $ remind -gaada -q /tmp/x.rem

    Reminders for Monday, 1st December, 2025 (today):

    *** TODAY: 2025-12-01 ***

    first

    --- tomorrow: 2025-12-02 ---

    second

Regards,

Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to