InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.64k stars 903 forks source link

weather: Fix GetCurrent* functions returning future events #1879

Closed FintasticMan closed 9 months ago

FintasticMan commented 9 months ago

It was potentially possible that an event with a timestamp in the future could be returned as a current event.

github-actions[bot] commented 9 months ago
Build size and comparison to main: Section Size Difference
text 376784B 0B
data 940B 0B
bss 63420B 0B