From 912c8d14a848833177dfdfdb8ca1214fc8b40b37 Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial Date: Sat, 15 Feb 2025 11:19:42 -0500 Subject: [PATCH] Fix parsing of 2-character timestamps Fix parsing of 2-character timestamps to be minute timestamps at midnight GMT --- lib/nexrad/storm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nexrad/storm.py b/lib/nexrad/storm.py index f70942f..bc3daa0 100644 --- a/lib/nexrad/storm.py +++ b/lib/nexrad/storm.py @@ -12,8 +12,8 @@ def time_from_str(time: str): if size <= 2: return ( - int(time) % 24, - 0 + 0, + int(time) % 60, ) return (