N°3629 - Activity panel: Add "activity_panel.datetimes_reformat_limit" config. param. to define the limit after which all dates / times should be displayed in absolute format

This commit is contained in:
Molkobain
2021-02-23 13:25:19 +01:00
parent 3d4e63416f
commit fa39846cc8
3 changed files with 10 additions and 1 deletions

View File

@@ -1213,6 +1213,14 @@ class Config
'source_of_value' => '',
'show_in_conf_sample' => false,
],
'activity_panel.datetimes_reformat_limit' => [
'type' => 'integer',
'description' => 'Limit (in days) for the dates / times to be displayed in a relative format (eg. "2 days ago") instead of in absolute format (eg. "2021-05-01 10:00"). After that limit, they will all be displayed in absolute format using the "date_and_time_format" parameter.',
'default' => 7,
'value' => 7,
'source_of_value' => '',
'show_in_conf_sample' => false,
],
'obsolescence.show_obsolete_data' => [
'type' => 'bool',
'description' => 'Default value for the user preference "show obsolete data"',