diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cgitrc.5.txt21
1 file changed, 20 insertions, 1 deletion
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index dba9751..d066dcc 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -131,6 +131,19 @@ css::
Default value: "/cgit.css". May be given multiple times, each
css URL path is added in the head section of the document in turn.
+date-format::
+ Format used for the calendar dates in the age columns of the log, refs
+ and index pages, both when "enable-relative-dates" is off and when a
+ log entry is too old to be shown as an age. Accepts the same names as
+ git's --date option: "default", "human", "iso" (or "iso8601"),
+ "iso-strict" (or "iso8601-strict"), "raw", "relative", "rfc" (or
+ "rfc2822"), "short" and "unix", each of which may carry a "-local"
+ suffix, plus "format:<strftime>" for an arbitrary layout. An
+ unrecognised value is ignored. Dates elsewhere, such as the author and
+ committer lines on the commit page, are always ISO 8601 and are not
+ affected, nor are the exact timestamps shown on hover. Default
+ value: "short". See also: "local-time".
+
email-filter::
Specifies a command which will be invoked to format names and email
address of committers, authors, and taggers, as represented in various
@@ -210,6 +223,12 @@ enable-log-linecount::
and removed lines for each commit on the repository log page. Default
value: "0".
+enable-relative-dates::
+ Flag which, when set to "1", shows the age columns of the log, refs and
+ index pages as an elapsed time such as "3 days" rather than a calendar
+ date. When set to "0" those columns always show a date, formatted
+ according to "date-format". Default value: "1".
+
enable-remote-branches::
Flag which, when set to "1", will make cgit display remote branches
in the summary and refs views. Default value: "0". See also:
@@ -266,7 +285,7 @@ js::
local-time::
Flag which, if set to "1", makes cgit print commit and tag times in the
- servers timezone. Default value: "0".
+ servers timezone. Default value: "0". See also: "date-format".
logo::
Url which specifies the source of an image which will be used as a logo