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

Filter for entries from the same date in previous years #1143

Closed
DanaKirsh opened this issue Jan 3, 2021 · 5 comments · Fixed by #1145
Closed

Filter for entries from the same date in previous years #1143

DanaKirsh opened this issue Jan 3, 2021 · 5 comments · Fixed by #1145
Labels
enhancement New feature or request

Comments

@DanaKirsh
Copy link

DanaKirsh commented Jan 3, 2021

Feature Request

Would love to be able to see what I was doing today in previous years.

Use Case/Motivation

Facilitates reminiscing, which is a major reason many people keep a journal in the first place.

Example Usage

jrnl -reminisce

Result:

01-07-2015 21:00 Monty Python and the Holy Grail 
@movie

01-07-2016 20:00 Family @board-games night

01-07-2019 10:00 Graduated from uni

Would be nice to print (_ years ago) for each entry as well. Maybe like this?

01-07-2015 21:00 (5 years ago) Monty Python and the Holy Grail 
@movie

01-07-2016 20:00 (4 years ago) Family @board-games night

01-07-2019 10:00 (1 year ago) Graduated from uni
@DanaKirsh DanaKirsh added 🆕 New! enhancement New feature or request labels Jan 3, 2021
@KarimPwnz
Copy link
Contributor

Love it! Will be working on it today.

@wren
Copy link
Member

wren commented Jan 4, 2021

This is a great idea. Thank you, @DanaKirsh! And thanks @KarimPwnz for the day/month/year addition.

I'm not sure -reminisce is the right name, though. All of our other search filters are descriptors for the journal or entries you are searching for (-starred, -from, -to, etc), and -reminisce would be a descriptor for what the user is doing (rather than the entries that user is searching for).

Maybe something like -on-this-date or -today-in-history? Anyone have any suggestions?

@KarimPwnz
Copy link
Contributor

I am a fan of -today-in-history! I can modify #1145 to have that.

@wren
Copy link
Member

wren commented Jan 9, 2021

I am also leaning towards -today-in-history. @micahellison What do you think?

@micahellison
Copy link
Member

I am absolutely onboard with -today-in-history too!

@micahellison micahellison removed the 🆕 New! label Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants