Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-04-23 16:30:23 +0400
committerJunio C Hamano <gitster@pobox.com>2012-04-25 01:55:48 +0400
commit7d29afd43cac38a332ef9fc176d11ec38d2569d4 (patch)
treeabce7b52731dc20bcb1455d27a69c5daee16da40 /cache.h
parent9a0a30aa4b92a69f63275680820b81c7e34629c9 (diff)
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 5bf59ff5c3..5bfa94996d 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);