diff options
| author | Jokler <jokler.contact@gmail.com> | 2019-06-22 15:39:24 +0200 |
|---|---|---|
| committer | Jokler <jokler.contact@gmail.com> | 2019-06-22 15:39:24 +0200 |
| commit | 6ecb061831b251476e55906ad7f42bb8f730e2f7 (patch) | |
| tree | c4af5286c7cc61c0ba2380d388f26869f559cbd9 /src | |
| parent | 108abaedf4161e3ec3624ac9e14b92422ba1425a (diff) | |
| download | frippy-6ecb061831b251476e55906ad7f42bb8f730e2f7.tar.gz frippy-6ecb061831b251476e55906ad7f42bb8f730e2f7.zip | |
Remind: Fix invalid error when parsing repeat time
Diffstat (limited to 'src')
| -rw-r--r-- | src/plugins/remind/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remind/parser.rs b/src/plugins/remind/parser.rs index 965ad99..91d13ab 100644 --- a/src/plugins/remind/parser.rs +++ b/src/plugins/remind/parser.rs @@ -231,7 +231,7 @@ impl CommandParser { } let dur = parse_duration(&words).context(ErrorKind::InvalidTime)?; - if dur < min_dur { + if dur <= min_dur { return Err(ErrorKind::RepeatTimeShort.into()); } |
