Support "date", "time" and "gmt-offset" in "system clock" (#210)

These properties are necessary to read and set the time as seen by
RouterOS.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
hansmi 2023-09-01 22:02:11 +02:00 committed by GitHub
parent 38ac303f93
commit 1ed4690240
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -2551,6 +2551,9 @@ PATHS = {
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'),
},