diff options
author | John Keeping | 2016-01-19 19:33:05 +0000 |
---|---|---|
committer | Jason A. Donenfeld | 2016-02-08 14:22:21 +0100 |
commit | f2a901d2e1db5217d6890b26c6dc1ec119505d02 (patch) | |
tree | 72f3039748dcf1b00b3d5741cc6282dee7f5492c /ui-shared.h | |
parent | 21dcf10386551a2eee3e552c3213bb14e535cbba (diff) | |
download | cgit-f2a901d2e1db5217d6890b26c6dc1ec119505d02.tar.gz cgit-f2a901d2e1db5217d6890b26c6dc1ec119505d02.tar.bz2 cgit-f2a901d2e1db5217d6890b26c6dc1ec119505d02.zip |
ui: show ages in the originator's timezone
This affects the tooltip showing the full time and the case when a date
is sufficiently old to be shown in full rather than as an offset.
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-shared.h')
-rw-r--r-- | ui-shared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.h b/ui-shared.h index 707cec9..e42f13a 100644 --- a/ui-shared.h +++ b/ui-shared.h | |||
@@ -63,7 +63,7 @@ __attribute__((format (printf,1,0))) | |||
63 | extern void cgit_vprint_error(const char *fmt, va_list ap); | 63 | extern void cgit_vprint_error(const char *fmt, va_list ap); |
64 | extern const struct date_mode *cgit_date_mode(const char *format); | 64 | extern const struct date_mode *cgit_date_mode(const char *format); |
65 | extern void cgit_print_date(time_t secs, const char *format, int local_time); | 65 | extern void cgit_print_date(time_t secs, const char *format, int local_time); |
66 | extern void cgit_print_age(time_t t, time_t max_relative); | 66 | extern void cgit_print_age(time_t t, int tz, time_t max_relative); |
67 | extern void cgit_print_http_headers(void); | 67 | extern void cgit_print_http_headers(void); |
68 | extern void cgit_redirect(const char *url, bool permanent); | 68 | extern void cgit_redirect(const char *url, bool permanent); |
69 | extern void cgit_print_docstart(void); | 69 | extern void cgit_print_docstart(void); |