You're right

TZif2

[root@SRV-MAIL ~]# hexdump -C /usr/share/zoneinfo/Europe/Moscow | head
00000000  54 5a 69 66 32 00 00 00  00 00 00 00 00 00 00 00
|TZif2...........|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
|................|
00000020  00 00 00 00 00 00 00 01  00 00 00 01 00 00 00 00
|................|
00000030  00 00 00 54 5a 69 66 32  00 00 00 00 00 00 00 00
|...TZif2........|
00000040  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
|................|
00000050  00 00 00 00 00 00 4e 00  00 00 0b 00 00 00 26 ff
|......N.......&.|
00000060  ff ff ff 56 b6 c0 c7 ff  ff ff ff 9b 5f 1e c7 ff
|...V........_...|
00000070  ff ff ff 9d 3e f2 79 ff  ff ff ff 9e 2a ee f9 ff
|....>.y.....*...|
00000080  ff ff ff 9e f7 39 69 ff  ff ff ff 9f 84 57 f9 ff
|.....9i......W..|
00000090  ff ff ff a0 d8 6c e9 ff  ff ff ff a1 00 39 80 ff
|.....l.......9..|


Unfortunately I couldn't find v1 format



Best regards, Taras.


-----Original Message-----
From: users-requ...@sogo.nu <users-requ...@sogo.nu> On Behalf Of Emmanuel
Dreyfus
Sent: Tuesday, July 19, 2022 3:49 AM
To: "????? ???????" <users@sogo.nu>
Subject: Re: [SOGo] Wrong time in WEB SOGo (5.5.1)

On Mon, Jul 18, 2022 at 07:34:57PM +0000, "????? ???????" wrote:
> Here is the command output
> [root@SRV-MAIL ~]# file /usr/share/zoneinfo/Europe/Moscow
> /usr/share/zoneinfo/Europe/Moscow: timezone data [root@SRV-MAIL ~]# How to
understand what version it is?     v2  ?

Your file(1) is not smart enough. Try
hexdump -C /usr/share/zoneinfo/Europe/Moscow | head
v1 format start by TZif or just a bunch of nul bytes
v2 format start by TZif2


--
Emmanuel Dreyfus
m...@netbsd.org
--
users@sogo.nu
https://inverse.ca/sogo/lists


--
Это сообщение проверено на вирусы антивирусом Avast.
https://www.avast.com/antivirus
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to