Use new time zone list
When systemd retrieve the time zone it read what is in the file /usr/share/zoneinfo/zone.tab provided by the Time Zone Database. According to the comments in zone.tab its content is for backward- compatibility aid for older programs. New programs should use zone1970.tab. This patch replaces zone.tab with zone1970.tab.
This commit is contained in:
parent
1f82f5bb42
commit
ba32084f08
|
@ -1214,7 +1214,7 @@ int get_timezones(char ***ret) {
|
||||||
n_allocated = 2;
|
n_allocated = 2;
|
||||||
n_zones = 1;
|
n_zones = 1;
|
||||||
|
|
||||||
f = fopen("/usr/share/zoneinfo/zone.tab", "re");
|
f = fopen("/usr/share/zoneinfo/zone1970.tab", "re");
|
||||||
if (f) {
|
if (f) {
|
||||||
for (;;) {
|
for (;;) {
|
||||||
_cleanup_free_ char *line = NULL;
|
_cleanup_free_ char *line = NULL;
|
||||||
|
|
Loading…
Reference in a new issue