Hi Rainer,

> creating a "tar" archive in summer (daylight saving time) and immediate-
> ly listing it using
> 
>    tar --list --verbose -f ...
> 
> and later in winter (normal time) listing it again with the same command
> results in time stamps being one hour off due to time zone shifting.

Time stamps are saved in a tar archive as number of seconds since the
Epoch.  The timezone information is not preserved.

> Is there a way to prevent this?

No, there is not (apart from setting the TZ variable before running tar).

Regards,
Sergey


Reply via email to