[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1051667: wrong hour in timestamp. random variations.



Package: zsync
Version: 0.6.2-5


on a client host do:

echo hello > original.txt
zsyncmake original.txt 
copy original.txt and original.txt.zsync to webserver

on the webserver:
ls -l original.txt*
-rw-r--r-- 1 root root   6 Sep 11 08:14 original.txt
-rw-r--r-- 1 root root 193 Sep 11 08:14 original.txt.zsync
(see the hour of the timestamp being 08)

now on client in a new empty directory:

zsync http://www/original.txt.zsync
ls -l
-rw------- 1 root root 6 11. Sep 07:14 original.txt
(see the hour of the timestamp is 07 and not 08)

rm original.txt
zsync http://www/original.txt.zsync
ls -l
-rw------- 1 root root 6 11. Sep 06:14 original.txt
(see the hour of the timestamp is 06 and not 08)

if you repeat again and again, the hour will be 07 or 06 at random!
very strange. by the way, 08 would be the correct number, but that one
is never chosen.

my webserver is debian 10 buster, apache2.

but the client is debian 12 bookworm

cat /etc/timezone on both client and webserver is
Europe/Berlin




Best Regards,
Erik Thiele


Reply to: