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 - "this" and "next" modifiers applied to week days are not calculated properly #164

Closed
azuenko opened this issue Nov 29, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@azuenko
Copy link

azuenko commented Nov 29, 2024

Hello @argenos .
Thanks for maintaining this community plugin in your free time!

I've a little bug to report. The relative dates are not correctly calculated. Although the semantics for the "last xxx" might be interpreted differently - "xxx on the previous week" rather than "the last xxx before today", the semantics of "this xxx" and "next xxx" are clearly not correctly calculated.

I'm using Obsidian 1.7.7
Nldates v0.6.2

To reproduce:

✅ Today (expected 2024-11-29)      : 2024-11-29 
❌ This Monday (expected 2024-11-25): 2024-11-18
❌ This Sunday (expected 2024-12-01): 2024-11-24
❌ Next Monday (expected 2024-12-02): 2024-11-25
❌ Last Monday (expected 2024-11-25): 2024-11-11
❌ Last Sunday (expected 2024-11-24): 2024-11-17

Kapture 2024-11-29 at 12 33 50

My plugin settings:
image

@argenos
Copy link
Owner

argenos commented Nov 29, 2024

This is discussed in #137.

@argenos argenos closed this as completed Nov 29, 2024
@argenos argenos added the duplicate This issue or pull request already exists label Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants