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

org-time-stamp gets incremented to next day if TODO is carried over #385

Open
guylyons opened this issue Mar 29, 2022 · 5 comments
Open

Comments

@guylyons
Copy link

Hi,

I'm not sure if this is actually a bug or I'm not understanding expected behavior.

When I have a TODO created in my Journal, and I insert a org-time-stamp, such as:
<2022-03-29 Tue>

If the item is not completed, and carries over to the next day, the timestamp also gets updated. I like using these
to keep date-accurate notes of when I did certain things. Is there a way to stop these form being incremented to
the next day, or again, am I misunderstanding the expected behavior of org-journal ?

Thanks, and I love using org-journal.

OS: Latest macOS
Version: Emacs 27.2

@bastibe
Copy link
Owner

bastibe commented Mar 29, 2022

Are you using daily files, or weekly/monthly?

Could you post an example of one of those journal entries with a timestamp that trigger the issue?

@guylyons
Copy link
Author

Sure. It's daily entries, here's an example of one I carried over from yesterday, but the timestamp got bumped to today's date:

Screen Shot 2022-03-29 at 4 29 06 PM

The timestamp right after logbook was Monday, but after it carries over to the next day, it increments or updates it, it seems.

@bastibe
Copy link
Owner

bastibe commented Mar 30, 2022

I wonder if the carryover logic just looks for date-like strings in the carryover item, and changes them to the current date. The carryover code is not too complicated, though.

If you find the cause, I'd be grateful for a pull request!

@guylyons
Copy link
Author

Absolutely, I'll debug and see what I can find. Thanks!

@allenluce
Copy link

I've also run into this, it seems that all inserted timestamps in the entire daily journal file regardless of where they are get updated when carried over.

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

3 participants