]> gitweb.ps.run Git - ps-cgit/commit
ui-shared: add cgit_date_mode()
authorJohn Keeping <john@keeping.me.uk>
Tue, 19 Jan 2016 19:33:03 +0000 (19:33 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 8 Feb 2016 13:21:34 +0000 (14:21 +0100)
commit360af46fac6fe79ec1868141a6c34b4c6b732ba0
treed0fad8a5d40e6d1ab371d14ad0695838e936fcea
parent45c87ca1c32dcd5ffd4a681fadf05627d9ce7770
ui-shared: add cgit_date_mode()

This returns the correct mode value for use with Git's show_date() based
on the current CGit configuration and will be used in the following
patches.

Signed-off-by: John Keeping <john@keeping.me.uk>
ui-shared.c
ui-shared.h