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

Update :ObsidianYesterday to pinpoint yesterday, rather than previous weekday #801

Open
mattlemmone opened this issue Dec 29, 2024 · 1 comment

Comments

@mattlemmone
Copy link

mattlemmone commented Dec 29, 2024

🚀 The feature, motivation and pitch

I am a frequent user of the plugin - thanks for the great work!

I've been using daily notes a lot these days, but sometimes I make followup entries after a given date has passed. For example, I wanted to update yesterday's (Dec 29) note today (Dec 30). I ran :ObsidianYesterday and it kept opening the note for Dec 27, which was Friday.

At first I thought this was a bug, but upon checking the implementation and the intial PR, it seems intentional. This seems like a misnomer.

My ask here is twofold, can we:

  1. rename the current :ObsidianYesterday: to something like :ObsidianPrevWeekday?
  2. use a different implementation for :ObsidianYesterday: which brings up the note for the previous day, regardless of whether it was a weekday?

Alternatives

No response

Additional context

No response

@mattlemmone mattlemmone changed the title Update :ObsidianYesterday to pinpoint yesterday, rather than previous workday Update :ObsidianYesterday to pinpoint yesterday, rather than previous weekday Dec 29, 2024
@matthewrobinsondev
Copy link

Ran into the same issue and came to raise. As mentioned, love the plugin but the wording for the yesterday command feels misleading. Think the above proposal makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants