diff options
Diffstat (limited to 'crates/mozart/src/commands/validate.rs')
| -rw-r--r-- | crates/mozart/src/commands/validate.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/mozart/src/commands/validate.rs b/crates/mozart/src/commands/validate.rs index fd7a534..e6778a4 100644 --- a/crates/mozart/src/commands/validate.rs +++ b/crates/mozart/src/commands/validate.rs @@ -440,8 +440,8 @@ fn parse_iso_time_to_unix(s: &str) -> Option<i64> { tz_offset_seconds = 0; } else { let body = suffix - .strip_prefix('+') - .or_else(|| suffix.strip_prefix('-'))?; + .strip_prefix('+') + .or_else(|| suffix.strip_prefix('-'))?; let sign = if suffix.starts_with('+') { 1 } else { -1 }; let body: String = body.chars().filter(|c| *c != ':').collect(); if body.len() < 4 { |
