summaryrefslogtreecommitdiff
path: root/interface-definitions/system-time-zone.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-22 18:42:15 +0100
committerGitHub <noreply@github.com>2023-02-22 18:42:15 +0100
commitdcb4a95c796132988258447d99430541aae955cb (patch)
tree9c89d4484341b1299eff9bbd2b69a66c51dfed2e /interface-definitions/system-time-zone.xml.in
parent4f0ccab4b0b0c8bb2cdce321c6dce39bf4215ce9 (diff)
parentd95808b5186f1dddebf7cc9674ca655b8100a6f8 (diff)
downloadvyos-1x-dcb4a95c796132988258447d99430541aae955cb.tar.gz
vyos-1x-dcb4a95c796132988258447d99430541aae955cb.zip
Merge pull request #1841 from sever-sever/T5025
T5025: Fix timezones and validator use timedatectl
Diffstat (limited to 'interface-definitions/system-time-zone.xml.in')
-rw-r--r--interface-definitions/system-time-zone.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/system-time-zone.xml.in b/interface-definitions/system-time-zone.xml.in
index ff815c9d3..f6b291984 100644
--- a/interface-definitions/system-time-zone.xml.in
+++ b/interface-definitions/system-time-zone.xml.in
@@ -7,7 +7,7 @@
<help>Local time zone (default UTC)</help>
<priority>100</priority>
<completionHelp>
- <script>find /usr/share/zoneinfo/posix -type f -or -type l | sed -e s:/usr/share/zoneinfo/posix/:: | sort</script>
+ <script>timedatectl list-timezones</script>
</completionHelp>
<constraint>
<validator name="timezone" argument="--validate"/>