diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-04 14:32:39 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-04 14:32:39 -0500 |
commit | 0a3754f8b66fc50dafeb61711679fc85c1e38038 (patch) | |
tree | 6a79b031b35df2726871c80910b5669fe4ef81e2 /eval.c | |
parent | bff3576bedf7337d2cd7bd8f106519b38d128535 (diff) | |
download | bfs-0a3754f8b66fc50dafeb61711679fc85c1e38038.tar.xz |
Implements -daystart.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -108,7 +108,7 @@ bool eval_acmtime(const struct expr *expr, struct eval_state *state) { break; } - time_t diff = timespec_diff(&state->cl->now, time); + time_t diff = timespec_diff(&expr->reftime, time); switch (expr->timeunit) { case MINUTES: diff /= 60; |