Thomas, On 5 May 2016 at 02:49, Thomas Schmitt <[email protected]> wrote: > 1969 is a strange date for a Unix-ly system. The lowest possible file > date is supposed to be 1 Jan 1970.
It ain't, if you consider timezones. For instance, I've created a file with the unix timestamp set to epoch on a system configured with UTC: $ date Thu May 5 23:10:15 UTC 2016 $ touch -t 197001010000 file.txt $ ls -lh file.txt -rw-r--r-- 1 vagrant vagrant 0 Jan 1 1970 file.txt But when I look the same file on a system with a different timezone (UTC-3 in this case), this is the result: $ date Thu May 5 20:11:22 BRT 2016 $ ls -lh file.txt -rw-r--r-- 1 myhro myhro 0 Dec 31 1969 file.txt So, the timestamp on the file is right. What makes it strange is the system when it calculates its offset based on the timezone. Regards, Tiago. -- Tiago "Myhro" Ilieve Blog: https://blog.myhro.info/ GitHub: https://github.com/myhro LinkedIn: https://br.linkedin.com/in/myhro Montes Claros - MG, Brasil

