]> granicus.if.org Git - cgit/commit
ui-shared: do not allow negative minutes
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 17 Jan 2014 14:41:41 +0000 (15:41 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 17 Jan 2014 14:41:41 +0000 (15:41 +0100)
commitbb3cc0d9666553608b7c89aef84d21d3312ce488
tree59d848b8d24c807b5f1c3c107d3e01d59e11c257
parent9dde6d38e9fc273fc62386eeda0da2e89a2cebfc
ui-shared: do not allow negative minutes

Do to timestamp differences, sometimes cgit would should "-0 min", which
doesn't make any sense.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
ui-shared.c