Skip to content

Commit

Permalink
[netjson] Define timezone in main schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed May 24, 2017
1 parent 19b9622 commit e09f1cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions netjsonconfig/backends/openwrt/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,8 @@
"general": {
"properties": {
"timezone": {
"type": "string",
"enum": list(timezones.keys()),
"default": "UTC",
"propertyOrder": 1,
}
}
},
Expand Down
4 changes: 4 additions & 0 deletions netjsonconfig/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,10 @@
"format": "hostname",
"propertyOrder": 1,
},
"timezone": {
"type": "string",
"propertyOrder": 1,
},
"ula_prefix": {
"type": "string",
"title": "ULA prefix",
Expand Down

0 comments on commit e09f1cc

Please sign in to comment.