oops
This commit is contained in:
parent
32d4235a0b
commit
c1cc974b5c
|
@ -18,7 +18,7 @@ function printNonEmpty {
|
||||||
function printTimestamp {
|
function printTimestamp {
|
||||||
timestamp="0x$1"
|
timestamp="0x$1"
|
||||||
year="$(( ((timestamp & 0xFE000000) >> 25) + 2000 ))"
|
year="$(( ((timestamp & 0xFE000000) >> 25) + 2000 ))"
|
||||||
day="$(( (timestamp & 0x01F00000) >> 21 ))"
|
day="$(( (timestamp & 0x01F00000) >> 20 ))"
|
||||||
month="$(( (timestamp & 0x000F0000) >> 16 ))"
|
month="$(( (timestamp & 0x000F0000) >> 16 ))"
|
||||||
hour="$(( (timestamp & 0x0000FF00) >> 8 ))"
|
hour="$(( (timestamp & 0x0000FF00) >> 8 ))"
|
||||||
minute="$(( timestamp & 0x000000FF ))"
|
minute="$(( timestamp & 0x000000FF ))"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user