[Ecls-list] Datetime bug (gmt?)

2012-08-02 Thread Stanislav Frolov
Hi! I have some trouble with datetime in ECL. In the terminal: $ date Thu Aug 2 16:12:26 MSK 2012 $ date -u Thu Aug 2 12:12:27 UTC 2012 ECL (last version from ecls-ecl git): (get-decoded-time) = 13, 13, 15, 2, 8, 2012, 3, NIL, -3 ClozureCl: (get-decoded-time) = 50, 13, 16, 2, 8, 2012, 3,

[Ecls-list] Datetime bug (gmt?)

2012-08-02 Thread Juan Jose Garcia-Ripoll
On Thu, Aug 2, 2012 at 2:17 PM, Stanislav Frolov frolosof...@gmail.comwrote: It there a problem with GMT detection? Could it be rather a problem with summer time? ECL relies on the C library for the timezone and the summer time (see src/c/mislib.lsp) and it seems to work for Spain

Re: [Ecls-list] Datetime bug (gmt?)

2012-08-02 Thread Stanislav Frolov
Could it be rather a problem with summer time? ECL relies on the C library for the timezone and the summer time (see src/c/mislib.lsp) and it seems to work for Spain Maybe. Last year, Russia hasn't summer/winter time transition. I have read the code src/lisp/mislib.lsp and found ECL don't

[Ecls-list] Problem building ECL on Cygwin

2012-08-02 Thread Jean-Pierre Flori
Dear all, A few weeks ago I attempted to build different versions of ECL (10.4, 11.1 and 12.stg) on Cygwin 1.7.15 and now on 1.7.16 and had problems because of the C type fd_set is undefined. On the one hand it indeed seems that recent (or at least the one I got!) versions of Cygwin do not define

Re: [Ecls-list] Problem building ECL on Cygwin

2012-08-02 Thread Juan Jose Garcia-Ripoll
On Thu, Aug 2, 2012 at 4:33 PM, Jean-Pierre Flori jpfl...@gmail.com wrote: I tried to directly submit a bug on sf.net but can not devise how to do that (I created an account and went to the bugs page of the ECL project but there was no obvious button to click on). If you go to

Re: [Ecls-list] Datetime bug (gmt?)

2012-08-02 Thread Stanislav Frolov
Bug? Feature? I think its a feature cause administrative time zone can be changed. So In 1970 Moscow timezone was 3 GMT and now ts is 4 GMT. Can we fix mislib's get-local-time-zone? -time_t when = 0L; +time_t when = time(0); It will return current timezone.

Re: [Ecls-list] Datetime bug (gmt?)

2012-08-02 Thread Stas Boukarev
Stanislav Frolov frolosof...@gmail.com writes: What is the value of localtime() and gmtime() in your system? localtime(0): tm_sec 0 tm_min 0 tm_hour 3 tm_mday 1 tm_mon 0 tm_year 70 tm_wday 4 tm_yday 0 tm_stdst 0 gmtime(0): tm_sec 0 tm_min 0 tm_hour 0 tm_mday 1 tm_mon