Thread (6 messages) flat view 6 messages, 2 authors, 2016-06-15

Re: [PATCH 3/3] Avoid non-portable strftime format specifiers in git-cvsimport

From: Chris Rorvick <hidden>
Date: 2016-06-15 22:55:47

On Tue, Jan 15, 2013 at 5:10 PM, Ben Walton [off-list ref] wrote:
Neither %s or %z are portable strftime format specifiers.  There is no
need for %s in git-cvsimport as the supplied time is already in
seconds since the epoch.  For %z, use the function get_tz_offset
provided by Git.pm instead.
Out of curiosity, which platforms are affected?  Assuming DST is a 1
hour shift (patch 2/3) is not necessarily portable either, though this
currently appears to only affect a small island off of the coast of
Australia.  :-)

Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help