Hi Nicolas, speaking of the bug, right now Windows shows that my time is 6:30pm but neko Date.now() returns 5:30pm. Australia recently changed the date DST applies, maybe you using old glibc that doesn't have recent timezone changes?
Best regards, Vadim. On Sun, Jun 28, 2009 at 8:21 PM, Nicolas Cannasse <[email protected]> wrote: > Vadim Atlygin a écrit : >> >> Hello everyone, >> I think I found a bug in neko. When you compile code "new >> Date(2009, 9, 4, 0, 0, 0);" in neko it returns "2009-10-03 23:00:00", >> in Flash it returns "2009-10-04 00:00:00" as it supposed to. >> >> Oct 4 2009 is the date when DST kicks in here in Australia. >> >> PS. Please, don't break lovely Date(2009, 1, 30) -> "2009-03-02" >> feature, it is far more important :) > > Hi, > > Neko is using standard C date functions. Not sure exactly why it causes a > bug with DST. > > Nicolas > > -- > Neko : One VM to run them all > (http://nekovm.org) > -- Neko : One VM to run them all (http://nekovm.org)
