Daniel Golle f8b4aa5062 ugps: nmea: make sure date is valid
GPS time without date was previously used to set system date:
Tue Oct 10 11:48:21 2000 user.info kernel: [  108.786639] ugps: system time differs from GPS time by more than 5 seconds. Using 2000-10-10T10:48:21 UTC as the new time
Tue Oct 10 11:49:27 2000 user.info kernel: [  174.794699] ugps: system time differs from GPS time by more than 5 seconds. Using 2020-05-26T10:49:27 UTC as the new time

Fix this by ignoring incomplete dates and wait for complete time
information before adjusting system date/time.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-05-29 23:59:35 +01:00
..
2019-12-23 00:22:07 +01:00
2019-10-19 12:49:11 +02:00
2020-04-09 22:08:16 +02:00
2019-10-18 19:23:07 +02:00
2019-08-16 22:53:06 +02:00
2019-08-27 10:32:44 +02:00
2020-02-14 14:10:51 +01:00
2020-02-14 14:10:51 +01:00
2019-09-01 00:34:30 +02:00
2020-05-29 23:59:35 +01:00
2019-07-08 17:01:54 +02:00
2020-02-20 09:12:12 +01:00