diff --git a/proxmox/src/tools/time.rs b/proxmox/src/tools/time.rs index 78d75b91..f7faade0 100644 --- a/proxmox/src/tools/time.rs +++ b/proxmox/src/tools/time.rs @@ -257,7 +257,7 @@ pub fn parse_rfc3339(i: &str) -> Result { expect(13, b':')?; tm.set_min(check_max(digit(14)?*10 + digit(15)?, 59)?)?; expect(16, b':')?; - tm.set_sec(check_max(digit(17)?*10 + digit(18)?, 59)?)?; + tm.set_sec(check_max(digit(17)?*10 + digit(18)?, 60)?)?; let epoch = tm.into_epoch()?; if tz == b'Z' {