Thread (69 messages) flat view 69 messages, 4 authors, 2016-06-15

Re: [PATCH v4 40/44] builtin-am: support and auto-detect mercurial patches

From: Stefan Beller <hidden>
Date: 2016-06-15 23:05:35

On Mon, Jun 29, 2015 at 1:32 PM, Stefan Beller [off-list ref] wrote:
On Sun, Jun 28, 2015 at 7:06 AM, Paul Tan [off-list ref] wrote:
quoted
+                       tz = tz / (60 * 60) * 100 + tz % (60 * 60);
What happens if we have a negative input not matching a full hour, say -5400 ?
(would equate to 0130 in git)

for calculating the minutes we would only need to take % 3600 (which
you do), but
then we still need to divide by 60 to convert seconds to minutes?
That said, I wonder if we have some helper functions around somewhere as we
need to convert the timezone data at many places.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help