mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-24 21:13:47 +00:00
Update docs/config.toml with new way to show relative timestamps
This commit is contained in:
parent
d8997999f2
commit
bb6bad18ad
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue