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

Add scheduled entry time of the day #337

Merged
merged 1 commit into from
Mar 26, 2021
Merged

Conversation

dalanicolai
Copy link
Contributor

Probably this t was forgotten here. This function asks for time-stamp format, For sure when users include a time of the day there, they would like to have it included in the timestamp.

Probably this `t` was forgotten here. This function asks for time-stamp format, For sure when users include a time of the day there, they would like to have it included in the timestamp.
dalanicolai added a commit to dalanicolai/org-journal that referenced this pull request Feb 24, 2021
Currently the command inserts the time preceding the TODO. This PR implements
fixes (non-desctructively), but it assumes that bastibe#335 and bastibe#337 get merged
first.
dalanicolai added a commit to dalanicolai/org-journal that referenced this pull request Feb 24, 2021
Currently the command inserts the time preceding the TODO. This PR implements
fixes (non-desctructively), but it assumes that bastibe#335 and bastibe#337 get merged
first.
dalanicolai added a commit to dalanicolai/org-journal that referenced this pull request Feb 24, 2021
Currently the command inserts the time preceding the TODO. This PR implements
fixes (non-desctructively), but it assumes that bastibe#335 and bastibe#337 get merged
first.
@bastibe bastibe requested a review from casch-at March 6, 2021 13:19
@casch-at
Copy link
Collaborator

Probably this t was forgotten here. This function asks for time-stamp format, For sure when users include a time of the day there, they would like to have it included in the timestamp.

That was actually on purpose. The I'm fine with including the "hour:minute". But the tests need than to be adjusted too. This change seem to break the CI.

@dalanicolai
Copy link
Contributor Author

dalanicolai commented Mar 26, 2021

Could you specify which tests should get adjusted and how this breaks the CI? Of course this only adds the time to the time-stamp, which would be a great option to have for using it with org-wild-notifier (besides that it would be nice to have the option to schedule for a specific time instead of for a specific day only). If it breaks something we could just make it an option via an extra argument (and then make a separate command that calls this function with that extra argument, just like how the extra command for inserting at point was created in #335).

@casch-at
Copy link
Collaborator

(ert-deftest org-journal-scheduled-weekly-test ()
This is the test which fails.

@casch-at
Copy link
Collaborator

I have fixed the test and merge this PR.

@casch-at casch-at merged commit 69c171b into bastibe:master Mar 26, 2021
@dalanicolai
Copy link
Contributor Author

Haha! I just wanted to push a fix also. But anyway great! Thanks for merging.

Let me know if you have some questions about the other PR's, or if you would like me to add some extra comments to save you time from figuring out their purpose.

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

Successfully merging this pull request may close these issues.

2 participants