i have problem with date format

linkithub4 years ago

i got this error date format this log from my server

2020-01-27 08:44:25  INFO: [31a1a1d3] id: 90020075, time: 2610-02-12 18:24:44, lat: 13.7800, lon: 100.41053, speed: 0.0, course: 0.0

how i fix this problem

Anton Tananaev4 years ago

Without any context or additional information it's impossible to tell what the root cause is.

linkithub4 years ago
GPS state: 20200127085033, 1, 14 sats, hdop 0.7, 13.788398, 100.610525, 0.02 km/h, 271.2 degrees

i got this from my gps Serial port but when data send to server time correct but date format change in server

hex data

474554202f3f69643d3930303230303735266c61743d31332e373838333938266c6f6e3d3130302e3631303532352674696d657374616d703d32303230303132373038353231332666783d312673763d31342668613d302e372673706565643d302e303426616c7469747564653d3235362e3020485454502f312e310d0a486f73743a2031332e3232382e3138312e3137363a363035350d0a4163636570743a202a2f2a0d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a557365722d4167656e743a2053494d434f4d5f4d4f44554c450d0a0d0a
linkithub4 years ago
2020-01-27 16:01:14  INFO: Position filtered by Future filters from device: 90020075