<p>It seems <code>-Z</code> is better than <code>-T</code>.</p>
<pre><code>$ 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.
...
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/issues/788?email_source=notifications&email_token=ADLPZU6RWAHBS5C7NAFZMM3P65AXVA5CNFSM4H7REH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZW5D7Y#issuecomment-510513663">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU6KZK7U24XIJTJJABDP65AXVANCNFSM4H7REH7A">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZU7WDWCISU45KZLGOR3P65AXVA5CNFSM4H7REH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZW5D7Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/issues/788?email_source=notifications\u0026email_token=ADLPZU6RWAHBS5C7NAFZMM3P65AXVA5CNFSM4H7REH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZW5D7Y#issuecomment-510513663",
"url": "https://github.com/rpm-software-management/rpm/issues/788?email_source=notifications\u0026email_token=ADLPZU6RWAHBS5C7NAFZMM3P65AXVA5CNFSM4H7REH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZW5D7Y#issuecomment-510513663",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>