bug fix
This commit is contained in:
parent
51819428c3
commit
a1317de008
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user