Skip to content

Commit

Permalink
Support "date", "time" and "gmt-offset" in "system clock"
Browse files Browse the repository at this point in the history
These properties are necessary to read and set the time as seen by
RouterOS.

Signed-off-by: Michael Hanselmann <[email protected]>
  • Loading branch information
hansmi committed Sep 1, 2023
1 parent 38ac303 commit f9046d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/module_utils/_api_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2551,6 +2551,9 @@ def join_path(path):
single_value=True,
fully_understood=True,
fields={
'date': KeyInfo(),
'gmt-offset': KeyInfo(),
'time': KeyInfo(),
'time-zone-autodetect': KeyInfo(default=True),
'time-zone-name': KeyInfo(default='manual'),
},
Expand Down

0 comments on commit f9046d0

Please sign in to comment.