From 7d29afd43cac38a332ef9fc176d11ec38d2569d4 Mon Sep 17 00:00:00 2001 From: Jonathan Nieder Date: Mon, 23 Apr 2012 19:30:23 +0700 Subject: i18n: mark relative dates for translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonathan Nieder Signed-off-by: Nguyễn Thái Ngọc Duy Signed-off-by: Junio C Hamano --- cache.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'cache.h') diff --git a/cache.h b/cache.h index 5bf59ff5c..5bfa94996 100644 --- a/cache.h +++ b/cache.h @@ -920,10 +920,8 @@ enum date_mode { }; const char *show_date(unsigned long time, int timezone, enum date_mode mode); -const char *show_date_relative(unsigned long time, int tz, - const struct timeval *now, - char *timebuf, - size_t timebuf_size); +void show_date_relative(unsigned long time, int tz, const struct timeval *now, + struct strbuf *timebuf); int parse_date(const char *date, char *buf, int bufsize); int parse_date_basic(const char *date, unsigned long *timestamp, int *offset); void datestamp(char *buf, int bufsize); -- cgit v1.2.1