From a1317de0082406f2248fb643a5b6e11a95501bf4 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 9 Aug 2019 14:11:51 +0900 Subject: [PATCH] bug fix --- pkg/drone/protocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }