This commit is contained in:
crusader 2019-08-09 14:11:51 +09:00
parent 51819428c3
commit a1317de008

View File

@ -74,7 +74,7 @@ func parseProtocol(buf []byte) (*droneGPS, error) {
gps.SatelliteCount = int32(satelliteCount)
if "A" == gps.Fixed {
dateTime, err := jodaTime.Parse("YYYYMMDDHHmmss", fmt.Sprintf("%s%s", items[1], items[2]))
dateTime, err := jodaTime.Parse("YYYYMMddHHmmss", fmt.Sprintf("%s%s", items[1], items[2]))
if nil != err {
return nil, err
}