From cde0c72067eeaf5890b8ec3749b23f5a7e571ca3 Mon Sep 17 00:00:00 2001 From: Dario Barghini <dario.barghini@inaf.it> Date: Tue, 3 Jun 2025 16:09:44 +0200 Subject: [PATCH] Fixed bug of pre/after midnight selection in plot.py --- pysqm/plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysqm/plot.py b/pysqm/plot.py index 379ee6d..355753d 100644 --- a/pysqm/plot.py +++ b/pysqm/plot.py @@ -264,7 +264,7 @@ class SQMData(object): self.aftermidnight.label_dates=[] - if localdatetime.hour > 12: + if localdatetime.hour >= 12: self.premidnight.utcdates.append(utcdatetime) self.premidnight.localdates.append(localdatetime) self.premidnight.temperatures.append(temperature) -- GitLab