Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Date colors don't update when the date changes #1048

Open
simeonrediger opened this issue Sep 16, 2024 · 1 comment
Open

[Bug]: Date colors don't update when the date changes #1048

simeonrediger opened this issue Sep 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@simeonrediger
Copy link

simeonrediger commented Sep 16, 2024

Describe the bug

For example, if I assign the color yellow to cards dated for tomorrow and green for today, the date will be yellow the day before and the day of (and thereafter), until I:

  • close and reopen Obsidian,
  • close and reopen the note,
  • or interact with that specific card.

This may or may not be considered a bug within the scope of this plugin. If not, I would like a feature that automatically refreshes date colors on opened kanban notes when the date changes (e.g., when tomorrow becomes today). Alternatively, a manual refresh button would be helpful.

Expected Behavior

The date color should (ideally) update automatically when the date changes.

Steps to reproduce

  1. Create a date color rule for "today" with green as the color.
  2. Create a date color rule for "between now and" 1 day after now with yellow as the color.
  3. Create a card dated for tomorrow.
  4. Wait until tomorrow without closing Obsidian, closing the note, or interacting with the card.
  5. Observe that the date is still yellow (indicating tomorrow) when it should be green (indicating today).

Operating system

Windows

@simeonrediger simeonrediger added the bug Something isn't working label Sep 16, 2024
@HaBiX02
Copy link

HaBiX02 commented Sep 19, 2024

I think this error is the same as seen in #1036 but in a different context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants