Skip to content

Commit

Permalink
Merge pull request #2217 from sarthurdev/T5555
Browse files Browse the repository at this point in the history
system: T5555: Fix time-zone migrator changing valid time-zones to UTC
  • Loading branch information
c-po authored Sep 7, 2023
2 parents 50f3e9f + c850955 commit 05dd8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migration-scripts/system/13-to-14
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ else:

# retrieve all valid timezones
try:
tz_datas = cmd('find /usr/share/zoneinfo/posix -type f -or -type l | sed -e s:/usr/share/zoneinfo/posix/::')
tz_datas = cmd('timedatectl list-timezones')
except OSError:
tz_datas = ''
tz_data = tz_datas.split('\n')
Expand Down

0 comments on commit 05dd8ed

Please sign in to comment.