uphy / obsidian-reminder

Reminder plugin for Obsidian
https://uphy.github.io/obsidian-reminder/
MIT License
457 stars 35 forks source link

Unable to create reminders with date within [[link]] #22

Closed rushikb closed 3 years ago

rushikb commented 3 years ago

Thank you for this plugin— its incredibly useful. I tend to use dates within [[]] links wherever possible in order to ensure that tasks can also be back-linked to the right day. Is there a way to change settings in order to support this?

uphy commented 3 years ago

I'm glad you like. Can you give me an example input and expected reminder?

For example,

input:

- [ ] foo (@2021-09-10)

expected reminder:

rushikb commented 3 years ago

Sure— What I mean is - [ ] foo (@[[2021-09-10]] 14:55)

The advantage of this is that is ensures that all dates can also be backlinked to the daily notes page

dcoales commented 3 years ago

I'm also using the Kanban board with the option turned on to link dates to journal pages. The resulting date format is

@[[YYYY-MM-DD]]

Because I've chosen YYYY-MM-DD as the date format within the Kanban settings. I think time formats are set using the following formats

@@HH:MM

Currently this date format isn't recognised by reminder even with the enable kanban format toggle enabled. I realise this might be tricky to implement generically as Kanban allows you to change not only the date format but also the date and time triggers (e.g. from @ and @@ to anything else).

uphy commented 3 years ago

@rushikb Thank you. I will consider implementing it.

@dcoales I didn't know that! Current implementation uses @ for date and @@ for time trigger. Also their format must be YYYY-MM-DD , HH:mm. I will consider to use Kanban plugin's format in the setting.

dcoales commented 3 years ago

Thank you very much.

On Sat, Sep 11, 2021 at 1:11 PM Yuhi Ishikura @.***> wrote:

@rushikb https://github.com/rushikb Thank you. I will consider implementing it.

@dcoales https://github.com/dcoales I didn't know that! Current implementation uses @ for date and @@ for time trigger. Also their format must be YYYY-MM-DD , HH:mm. I will consider to use Kanban plugin's format in the setting.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/uphy/obsidian-reminder/issues/22#issuecomment-917396806, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEV5W53WGEGINDBCZ4PGMG3UBNBNJANCNFSM5DYWLO3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

uphy commented 3 years ago

@rushikb Supported in v1.1.0.

image
uphy commented 3 years ago

@dcoales Supported in v1.1.0.

rushikb commented 3 years ago

Thank you! this is amazing!

dcoales commented 3 years ago

Hi,

As part of this change, could Kanban dates in the format @[[YYYY-MM-DD]] be supported. I have tried turning on both Kanban support and linking to dates in the options but this still doesn't recognise Kanban dates when they too are links to dates.

Many thanks, David

uphy commented 3 years ago

I have tried turning on both Kanban support and linking to dates in the options but this still doesn't recognise Kanban dates when they too are links to dates.

It is not reproduced for me. Maybe you need a restart. If you have problems again, please open again.