summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-01 17:21:38 +0200
committerGitHub <noreply@github.com>2023-08-01 17:21:38 +0200
commit1429fe3750258cbbd947c065d92b867c785d461f (patch)
tree1278fec51b9c83662c0c6e5e9711c1c033643e1a /interface-definitions
parentca8eba2f9f9146a14373345bc03a46395ddd349a (diff)
parent7fd6d8c0e99ff4cb566598af65d8915c658ed749 (diff)
downloadvyos-1x-1429fe3750258cbbd947c065d92b867c785d461f.tar.gz
vyos-1x-1429fe3750258cbbd947c065d92b867c785d461f.zip
Merge pull request #2124 from sever-sever/T5374
T5374: Add system option time-format 12 or 24 hours
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/system-option.xml.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/interface-definitions/system-option.xml.in b/interface-definitions/system-option.xml.in
index efab50a66..b1b5f7fae 100644
--- a/interface-definitions/system-option.xml.in
+++ b/interface-definitions/system-option.xml.in
@@ -144,6 +144,26 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="time-format">
+ <properties>
+ <help>System time-format</help>
+ <completionHelp>
+ <list>12-hour 24-hour</list>
+ </completionHelp>
+ <valueHelp>
+ <format>12-hour</format>
+ <description>12 hour time format</description>
+ </valueHelp>
+ <valueHelp>
+ <format>24-hour</format>
+ <description>24 hour time format</description>
+ </valueHelp>
+ <constraint>
+ <regex>(12-hour|24-hour)</regex>
+ </constraint>
+ </properties>
+ <defaultValue>12-hour</defaultValue>
+ </leafNode>
</children>
</node>
</children>