It seems `-Z` is better than `-T`.

```
$ man patch
...
       -T  or  --set-time
          Set  the modification and access times of patched files from time 
stamps given in
          context diff headers.  Unless specified in the time stamps, assume 
that the  con‐
          text diff headers use local time.

          Use  of this option with time stamps that do not include time zones 
is not recom‐
          mended, because patches using local time cannot easily be used by 
people in other
          time  zones,  and  because local time stamps are ambiguous when local 
clocks move
          backwards during daylight-saving time adjustments.  Make sure  that  
time  stamps
          include  time  zones,  or  generate  patches with UTC and use the -Z 
or --set-utc
          option instead.
...
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/788#issuecomment-510513663
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to