From ba32084f08d4dcf11430816d53f467837c8d01a5 Mon Sep 17 00:00:00 2001 From: Christopher Wong Date: Thu, 28 Feb 2019 14:22:42 +0100 Subject: [PATCH] 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. --- src/basic/time-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/time-util.c b/src/basic/time-util.c index 25a5c116e89..daf952baa11 100644 --- a/src/basic/time-util.c +++ b/src/basic/time-util.c @@ -1214,7 +1214,7 @@ int get_timezones(char ***ret) { n_allocated = 2; n_zones = 1; - f = fopen("/usr/share/zoneinfo/zone.tab", "re"); + f = fopen("/usr/share/zoneinfo/zone1970.tab", "re"); if (f) { for (;;) { _cleanup_free_ char *line = NULL; -- 2.47.3