From ce111d2518bab60bd3bf07b9c8545b9c03fd88e9 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Thu, 9 Jul 2015 15:13:51 +0000 Subject: [PATCH] fix garmin map offset. --- magic/Magdir/map | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/magic/Magdir/map b/magic/Magdir/map index 8d65d260..079b01f2 100644 --- a/magic/Magdir/map +++ b/magic/Magdir/map @@ -1,7 +1,7 @@ #------------------------------------------------------------------------------ -# $File: msdos,v 1.99 2014/06/03 01:40:24 christos Exp $ +# $File: map,v 1.1 2014/06/03 18:22:25 christos Exp $ # map: file(1) magic for Map data # @@ -9,9 +9,10 @@ 8 string .FIT FIT Map data >15 byte 0 >>35 belong x \b, unit id %d -# 20 years after unix epoch >>39 lelong x \b, serial %u ->>43 ledate/631152000 x \b, %s +# 20 years after unix epoch +# TZ=GMT date -d '1989-12-31 0:00' +%s +>>43 leldate+631065600 x \b, %s >>47 leshort x \b, manufacturer %d >>47 leshort 1 \b (garmin) -- 2.40.0