aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-04-23 19:30:23 +0700
committerJunio C Hamano <gitster@pobox.com>2012-04-24 14:55:48 -0700
commit7d29afd43cac38a332ef9fc176d11ec38d2569d4 (patch)
treeabce7b52731dc20bcb1455d27a69c5daee16da40 /cache.h
parent9a0a30aa4b92a69f63275680820b81c7e34629c9 (diff)
downloadgit-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.h6
1 files changed, 2 insertions, 4 deletions
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);