We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb6f16d commit 42f8d1cCopy full SHA for 42f8d1c
src/pyrad_proc/pyrad/io/trajectory.py
@@ -351,7 +351,11 @@ def _read_traj(self):
351
try:
352
sday = datetime.datetime.strptime(mm.group(1), "%d-%b-%Y")
353
except Exception as ee:
354
- print(datetime.datetime.now(datetime.UTC).strftime("%d-%b-%Y"))
+ print(
355
+ datetime.datetime.now(datetime.timezone.utc).strftime(
356
+ "%d-%b-%Y"
357
+ )
358
359
raise Exception(
360
f"ERROR: Format error in traj file '{self.filename}' "
361
f"on line '{line}' ({str(ee)})"
0 commit comments