mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-05-24 11:34:14 +00:00
This makes it a lot easier to iterate over the intervals, as we no longer have to take into account DST changes that could either result in an invalid or ambiguous date, or not incrementing by the expected interval. E.g. incrementing by 1 day resulting in a 23 hour increment because or DST change. On returning the metrics, we try to convert the NaiveDateTime back into a DateTime<Local>, failing that, we skip it rather than failing on it. Closes #415.