diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2012-04-23 19:30:23 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-24 14:55:48 -0700 |
commit | 7d29afd43cac38a332ef9fc176d11ec38d2569d4 (patch) | |
tree | abce7b52731dc20bcb1455d27a69c5daee16da40 /cache.h | |
parent | 9a0a30aa4b92a69f63275680820b81c7e34629c9 (diff) | |
download | git-7d29afd43cac38a332ef9fc176d11ec38d2569d4.tar.gz git-7d29afd43cac38a332ef9fc176d11ec38d2569d4.tar.xz |
i18n: mark relative dates for translation
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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); |