Update docs/config.toml with new way to show relative timestamps

This commit is contained in:
Ilya Grigoriev 2023-02-15 19:28:43 -08:00
parent d8997999f2
commit bb6bad18ad

View file

@ -7,9 +7,6 @@ user.email = "YOUR_EMAIL@example.com"
ui.color = "auto" # the default
# ui.color = never # no color
ui.relative-timestamps = false # the default
# ui.relative-timestamps = true # renders timestamps relatively, e.g. "x hours ago"
ui.editor = "pico" # the default
# ui.editor = "vim"
@ -20,6 +17,9 @@ ui.merge-editor = "meld" # default
# ui.merge-editor = "vimdiff"
# ui.merge-editor = "kdiff3"
# Relative timestamp rendered as "x days/hours/seconds ago"
template-aliases.'format_timestamp(timestamp)' = 'timestamp.ago()'
# The three merge tools above are pre-configured. For detailed information
# about how to change the default configuration or how to configure another tool,
# see documentation in config.md. An example: