diff --git a/pkg/drone/protocol.go b/pkg/drone/protocol.go index ab80ca1..cb15890 100644 --- a/pkg/drone/protocol.go +++ b/pkg/drone/protocol.go @@ -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 }