InfiniTimeOrg / InfiniTime

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

Simple Weather Service : Fix timestamp #1945

Closed JF002 closed 5 months ago

JF002 commented 6 months ago

In the documentation, specify that the timestamp is expressed in seconds from epoch (instead of nanoseconds). SimpleWeatherService now uses "localtime" (GetCurrentDateTime()) instead of UTC time.

github-actions[bot] commented 6 months ago
Build size and comparison to main: Section Size Difference
text 369544B -48B
data 940B 0B
bss 63516B 0B
JF002 commented 6 months ago

I think we should mention in the doc that we expect the timestamp to be in local time.

Yes, right! Done!