Add option to show browser's local time (#1653)
* Add tests for --local-time option * Update Readme
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user