From 8b67490ab46fe089d9eb14bec24f7e900dccc0b4 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Sun, 5 Aug 2012 12:27:35 +0200 Subject: [PATCH] When guessing the timezone, use the current time, for some countries have changed timezones along time. --- src/lsp/mislib.lsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lsp/mislib.lsp b/src/lsp/mislib.lsp index 800175d0b..0f6eb457f 100644 --- a/src/lsp/mislib.lsp +++ b/src/lsp/mislib.lsp @@ -135,7 +135,7 @@ Evaluates FORM, outputs the realtime and runtime used for the evaluation to mw = timezone/60; #else struct tm ltm, gtm; - time_t when = 0L; + time_t when = time(0) /*0L*/; ltm = *localtime(&when); gtm = *gmtime(&when);