date: remove approxidate_relative()
commit8a7f0b666fc749166421669fba62b1000321bd26
authorRené Scharfe <l.s.r@web.de>
Sat, 8 Apr 2023 09:35:24 +0000 (8 11:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Apr 2023 15:46:40 +0000 (10 08:46 -0700)
treef3e5a25ccaa39712eb8d99af80522cef55cb3b94
parent73876f4861cd3d187a4682290ab75c9dccadbc56
date: remove approxidate_relative()

When 29f4332e66 (Quit passing 'now' to date code, 2019-09-11) removed
its timeval parameter, approxidate_relative() became equivalent to
approxidate().  Convert its last two call sites and remove the redundant
function.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
date.c
date.h
t/helper/test-date.c