fix: windows build correct string literal

This commit is contained in:
zhom
2025-07-07 07:34:55 +04:00
parent 0e1c5dcfb6
commit 689ac8e3ca
+1 -1
View File
@@ -238,7 +238,7 @@ mod windows {
let hours = &offset_str[..colon_pos];
let minutes = &offset_str[colon_pos + 1..];
if let (Ok(h), Ok(m)) = (hours.parse::<i32>(), minutes.parse::<i32>()) {
return format!("{:+03d}:{:02d}", h, m);
return format!("{:+03}:{:02}", h, m);
}
}
}