When guessing the timezone, use the current time, for some countries have changed timezones along time.

This commit is contained in:
Juan Jose Garcia Ripoll 2012-08-05 12:27:35 +02:00
parent 7a4a98d020
commit 8b67490ab4

View file

@ -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);