From cbdc5af52ef0eeae955753ab0a8a0df650027b55 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 6 Dec 2008 03:18:14 +0000 Subject: [PATCH] build: generate timezone offsets too in zoneinfo2lua.pl libs/http: drop zoneinfo information in luci.http.protocol.data, use luci.sys.zoneinfo instead libs/sys: refresh zoneinfo information --- build/zoneinfo2lua.pl | 70 +++++++++ libs/http/luasrc/http/protocol/date.lua | 112 +------------- libs/sys/luasrc/sys/zoneinfo.lua | 196 ++++++++++++++++++++++-- 3 files changed, 255 insertions(+), 123 deletions(-) diff --git a/build/zoneinfo2lua.pl b/build/zoneinfo2lua.pl index fdcc3d60e..7e772c0af 100644 --- a/build/zoneinfo2lua.pl +++ b/build/zoneinfo2lua.pl @@ -65,4 +65,74 @@ foreach my $zone ( sort keys %TZ ) { printf "\t{ '%s', '%s' },\n", $zone, $TZ{$zone} } +print <