mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[feat] plugins: add new time/timezone search plugin
The plugin uses the ``GeoLocation`` class, which is already implemented in the context of weather forecasts, to determine the time zone. The ``DateTime`` class is used for the localized display of date and time. Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
@@ -13,3 +13,4 @@ Built-in Plugins
|
||||
self_info
|
||||
tor_check
|
||||
unit_converter
|
||||
time_zone
|
||||
|
||||
8
docs/dev/plugins/time_zone.rst
Normal file
8
docs/dev/plugins/time_zone.rst
Normal file
@@ -0,0 +1,8 @@
|
||||
.. _time zone plugin:
|
||||
|
||||
=========
|
||||
Time Zone
|
||||
=========
|
||||
|
||||
.. automodule:: searx.plugins.time_zone
|
||||
:members:
|
||||
Reference in New Issue
Block a user