mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-17 14:51:20 -08:00
When guessing the timezone, use the current time, for some countries have changed timezones along time.
This commit is contained in:
parent
7a4a98d020
commit
8b67490ab4
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue