From c1cc974b5c1976691000982f79e86023b6846b8d Mon Sep 17 00:00:00 2001 From: gutmet Date: Thu, 30 Apr 2020 20:37:33 +0200 Subject: [PATCH] oops --- Sports/Concept2/PM5/pm5conv.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sports/Concept2/PM5/pm5conv.bash b/Sports/Concept2/PM5/pm5conv.bash index 00389ac..fb75768 100755 --- a/Sports/Concept2/PM5/pm5conv.bash +++ b/Sports/Concept2/PM5/pm5conv.bash @@ -18,7 +18,7 @@ function printNonEmpty { function printTimestamp { timestamp="0x$1" year="$(( ((timestamp & 0xFE000000) >> 25) + 2000 ))" - day="$(( (timestamp & 0x01F00000) >> 21 ))" + day="$(( (timestamp & 0x01F00000) >> 20 ))" month="$(( (timestamp & 0x000F0000) >> 16 ))" hour="$(( (timestamp & 0x0000FF00) >> 8 ))" minute="$(( timestamp & 0x000000FF ))"