From a46201004c0d7124cb8b964a98931c02e8d480b9 Mon Sep 17 00:00:00 2001 From: Thomas Hochstein <thh@thh.name> Date: Fri, 10 Jan 2025 17:01:00 +0100 Subject: [PATCH] Date_Init("tz") is deprecated. Signed-off-by: Thomas Hochstein <thh@thh.name> --- usestats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usestats.pl b/usestats.pl index ab0ec33..d614e56 100644 --- a/usestats.pl +++ b/usestats.pl @@ -92,7 +92,7 @@ if (!scalar(grep /$config{'charset'}/, @{$supported})) { $config{'charset'} = 'ISO-8859-1'; }; -&Date_Init("TZ = $config{'tz'}"); +&Date_Init("setdate=now,$config{'tz'}"); if ($options{'r'}) { @postings = @{&readdata($options{'r'})};