fix error str for weekdays
This commit is contained in:
parent
4ced16e8da
commit
c8f7b9b072
@ -87,7 +87,7 @@ impl FromStr for Weekdays {
|
||||
if has_valid || !has_invalid {
|
||||
Ok(Weekdays { bits })
|
||||
} else {
|
||||
Err(anyhow!("invalid time, must be hh:mm"))
|
||||
Err(anyhow!("invalid weekdays (expected like \"Mon,Tue,Wed\")"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user