Skip to content

Commit f3f6153

Browse files
authored
fix: allow using %r with relative_date_if_recent (#72)
1 parent 37d3f72 commit f3f6153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/blame/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ M.format_recent_date = function(format, timestamp)
6060
if diff < 2592000 then -- < 30 days
6161
return relative_time(timestamp)
6262
else
63-
return tostring(os.date(format, timestamp))
63+
return M.format_time(format, timestamp)
6464
end
6565
end
6666

0 commit comments

Comments
 (0)