ソースを参照

Ignorar zona horaria al leer la fecha

Hugo 5 年 前
コミット
312f6f34b9
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      ondemand/service.py

+ 1 - 1
ondemand/service.py

@@ -142,7 +142,7 @@ def process_queue_with_threads():
                 try:
                     item = queue.get(False)
                     station = item['station']
-                    date = dateutil.parser.parse(item['date'])
+                    date = dateutil.parser.parse(item['date'], ignoretz=True)
                     calibration = calibrations.get(station)
 
                     audios = [f for f in iterate_audios(