All time has been switched to UTC if we ever want to manipulate it
later. Because we do not display the date on the graph, that's ok for
now.
We also guess the boot time if we do not have one yet based on the last systick we received. There are chances we miss the BootMessage (the telemetry crate might not open a socket quick enough to catch it or our program might crash or been restarted). If we ever receive a systick lower than our last one, we reset our state.
All time has been switched to UTC if we ever want to manipulate it later. Because we do not display the date on the graph, that's ok for now.
We also guess the boot time if we do not have one yet based on the last
systick
we received. There are chances we miss the BootMessage (the telemetry crate might not open a socket quick enough to catch it or our program might crash or been restarted). If we ever receive asystick
lower than our last one, we reset our state.