diff --git a/Classes/Converter/DateConverter.php b/Classes/Converter/DateConverter.php index 1f68d02..1f49bb4 100644 --- a/Classes/Converter/DateConverter.php +++ b/Classes/Converter/DateConverter.php @@ -24,7 +24,7 @@ public static function convertGpsDateAndTime(string $gpsDateStamp, array $gpsTim { return \DateTime::createFromFormat( 'Y:m:d H:i:s', - $gpsDateStamp . ' ' . (int)$gpsTimeStamp[0] . ':' . (int)$gpsTimeStamp[1] . ':' . (int)$gpsTimeStamp[2] + $gpsDateStamp . ' ' . \sprintf('%02d:%02d:%02d', (int)$gpsTimeStamp[0], (int)$gpsTimeStamp[1], (int)$gpsTimeStamp[2]) ); }