feat: allow all rfc3339 size lengths
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
parent
0ec1a74a11
commit
1d8eb97e2a
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ fn main() -> io::Result<()> {
|
||||||
if args.len() == 1
|
if args.len() == 1
|
||||||
|| !(args[1].len() == 8 as usize
|
|| !(args[1].len() == 8 as usize
|
||||||
|| args[1].len() == 19 as usize
|
|| args[1].len() == 19 as usize
|
||||||
|| args[1].len() == 21 as usize)
|
|| args[1].len() >= 21 as usize)
|
||||||
{
|
{
|
||||||
println!("usage: since hh:mm:ss"); //8
|
println!("usage: since hh:mm:ss"); //8
|
||||||
println!("usage: since yyyy-mm-dd hh:mm:ss"); //19
|
println!("usage: since yyyy-mm-dd hh:mm:ss"); //19
|
||||||
|
|
Loading…
Reference in a new issue