From 5935c388fa112969a25b5fe99f5ddeafef0a9dc4 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 1 Aug 2026 11:38:33 -1000 Subject: Add enable-relative-dates and date-format --- custom/cgitrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'custom/cgitrc') diff --git a/custom/cgitrc b/custom/cgitrc index fd4ac34..d456301 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -213,6 +213,10 @@ enable-log-filecount=0 # Default is 0. enable-log-linecount=0 +# Show ages in the log, refs and index columns as an elapsed time such as +# "3 days" rather than a calendar date. Values are 0 or 1. Default is 1. +enable-relative-dates=1 + # Display remote branches in summary and refs views. Values are 0 or 1. # Default is 0. enable-remote-branches=0 @@ -384,6 +388,11 @@ side-by-side-diffs=0 # Default is 0. local-time=0 +# Format for the calendar dates in the age columns. Accepts the names git +# takes for --date, such as short, iso8601, rfc2822, human and unix, each of +# which may carry a -local suffix, plus format:. Default is short. +date-format=short + # Ordering of commits in the log view. Leaving this unset uses the git log # default. Values are date or topo. Default is unset. #commit-sort=date -- cgit 2.12.1