Page MenuHomeVyOS Platform

Migrate "system time-zone" configuration to XML/Python
Closed, ResolvedPublicFEATURE REQUEST

Description

Migrate "system time-zone" configurationt o XML/Python

There are certain cities which have a "special" handling

bash
update: LTF="/usr/share/zoneinfo"
  case "$VAR(@)" in
    [Ll][Oo][Ss]*) LTF="$LTF/US/Pacific" ;;
    [Dd][Ee][Nn]*) LTF="$LTF/US/Mountain" ;;
    [Hh][Oo][Nn][Oo]*) LTF="$LTF/US/Hawaii" ;;
    [Nn][Ee][Ww]*) LTF="$LTF/US/Eastern" ;;
    [Cc][Hh][Ii][Cc]*) LTF="$LTF/US/Central" ;;
    [Aa][Nn][Cc]*) LTF="$LTF/US/Alaska" ;;
    [Pp][Hh][Oo]*) LTF="$LTF/US/Arizona" ;;
    GMT*) LTF="$LTF/Etc/$VAR(@)" ;;
    *) LTF="$LTF/$VAR(@)" ;;
  esac

Those magic cities should be converter to proper timezones using a migration script

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation
Issue type
Internal change (not visible to end users)

Event Timeline

c-po changed the task status from Open to In progress.Dec 25 2019, 4:47 PM
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Stricter validation.
c-po renamed this task from Migrate "system time-zone" configurationt o XML/Python to Migrate "system time-zone" configuration to XML/Python.Dec 25 2019, 4:54 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
erkin set Issue type to Internal change (not visible to end users).Aug 31 2021, 6:01 PM