Add option to show browser's local time (#1653)

* Add tests for --local-time option
* Update Readme
This commit is contained in:
Nikita Ivanov
2022-01-13 22:19:22 +05:00
committed by GitHub
parent f30058f4ee
commit 6f870501a0
19 changed files with 285 additions and 38 deletions
+3
View File
@@ -112,6 +112,9 @@ MSG
opts.on('--no-edit', 'Disable the feature of editing pages.') do
wiki_options[:allow_editing] = false
end
opts.on('--local-time', "Use the browser's local timezone instead of the server's for displaying dates.") do
wiki_options[:show_local_time] = true
end
opts.on('--follow-renames', 'Follow pages across renames in the History view. Default: true.') do
wiki_options[:follow_renames] = true
end