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

Multiple entries with same timestamp should be grouped together #1247

Closed
drax10 opened this issue May 17, 2021 · 3 comments
Closed

Multiple entries with same timestamp should be grouped together #1247

drax10 opened this issue May 17, 2021 · 3 comments

Comments

@drax10
Copy link

drax10 commented May 17, 2021

Feature Request

Use Case/Motivation

I use jrnl to log what happened that day. On occasion, I will add more than one record for the same day using jrnl today: blah blah. The end result is:

[2021-05-17 09:00] Something amazing happened
You'll never guess what that was

[2021-05-17 09:00] Some other cool thing happened today

Since these have the same exact timestamp I expected the second record to be appended onto the previous one like so:

[2021-05-17 09:00] Something amazing happened
You'll never guess what that was

Some other cool thing happened today
@drax10 drax10 added 🆕 New! enhancement New feature or request labels May 17, 2021
@minchinweb
Copy link
Contributor

minchinweb commented May 18, 2021

This is a possible use case for a custom exporter. See #1216 for development work on implementing then.

For output, are you concerned about telling the two entries apart?

For usability, is there a reason you're creating two entries in the first place and not editing the first one instead? (jrnl -1 --edit will pull up the last entry to edit it)

@drax10
Copy link
Author

drax10 commented May 18, 2021

Perfect! Once that's merged I can try my hand in making a custom exporter to accomplish this.

I am not concerned about telling the two apart. My use case is to journal what happened in each day, so I'd like one record each day.

The reason I haven't done jrnl -1 --edit is I didn't know that I could do that! Although it isn't a perfect solution because I need to remember if I have already logged something or not that day,

@micahellison micahellison removed the 🆕 New! label May 22, 2021
@micahellison
Copy link
Member

Since this is going to be handled with a plugin, I'm closing this issue. Feel free to let us know and/or link your plugin from this issue when you're done.

@wren wren removed the enhancement New feature or request label Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants