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

sod with wrong description #77

Closed
Spacewalker2 opened this issue May 11, 2020 · 2 comments · Fixed by #892
Closed

sod with wrong description #77

Spacewalker2 opened this issue May 11, 2020 · 2 comments · Fixed by #892

Comments

@Spacewalker2
Copy link

Hello, there is a little error here. In the table and in the image sod is describted for today but I believe it is actually tomorrow.

@jdorel
Copy link
Contributor

jdorel commented Mar 11, 2021

Hi,
sod is defined in there.

As you can seem sod is the beginning of current day :

struct tm* t = localtime (&now);
t->tm_hour = t->tm_min = t->tm_sec = 0;
t->tm_isdst = -1;

You can also test locally with task add test due:sod, then task <id> info. The due date will be today.

But there is a mismatch in the dates page of the documentation. Maybe the synonyms section should just point to the named_dates page ?

@Spacewalker2
Copy link
Author

Spacewalker2 commented Mar 12, 2021

Hello,

I use sod almost daily in combination with wait: to move the some tasks to the next day for a better overview. It works well for me this way for a long time. I started using this after the encounter of the date page of the documentation. Maybe &now returns some how a wrong address.

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

Successfully merging a pull request may close this issue.

3 participants