aboutsummaryrefslogtreecommitdiffstats
path: root/t/helper
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-20 14:33:35 -0700
committerJunio C Hamano <gitster@pobox.com>2023-04-20 14:33:35 -0700
commitfa9172c70af55a013e7fe2c5c3c97ba63002a7e5 (patch)
treec29cce6d9477cc5c7f1c83c2990aff4f115c385d /t/helper
parentcbfe844aa1b6b0b9513f2ae2fc3d18ff3dd385e6 (diff)
parent8a7f0b666fc749166421669fba62b1000321bd26 (diff)
downloadgit-fa9172c70af55a013e7fe2c5c3c97ba63002a7e5.tar.gz
Merge branch 'rs/remove-approxidate-relative'
The approxidate() API has been simplified by losing an extra function that did the same thing as another one. * rs/remove-approxidate-relative: date: remove approxidate_relative()
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-date.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/helper/test-date.c b/t/helper/test-date.c
index cd6a6df702..2d9232cc68 100644
--- a/t/helper/test-date.c
+++ b/t/helper/test-date.c
@@ -81,7 +81,7 @@ static void parse_approxidate(const char **argv)
{
for (; *argv; argv++) {
timestamp_t t;
- t = approxidate_relative(*argv);
+ t = approxidate(*argv);
printf("%s -> %s\n", *argv, show_date(t, 0, DATE_MODE(ISO8601)));
}
}
@@ -90,7 +90,7 @@ static void parse_approx_timestamp(const char **argv)
{
for (; *argv; argv++) {
timestamp_t t;
- t = approxidate_relative(*argv);
+ t = approxidate(*argv);
printf("%s -> %"PRItime"\n", *argv, t);
}
}