fix error str for weekdays
This commit is contained in:
@@ -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\")"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user