On Thu, Aug 26, 2010 at 3:55 PM, Brian Candler <b.candler / pobox.com> wrote:

> Sorry, I should engage brain before typing. Jan 1st is not in the
> summer, and you are in Western Europe.
>
> FWIW, I get similar results here for UK, under ruby 1.8.7.
>
> irb(main):008:0> Time.local(1941)
> => Wed Jan 01 00:00:00 +0100 1941
> irb(main):009:0> Time.local(1940)
> => Mon Jan 01 00:00:00 +0000 1940

It's a bit weird (though I guess there's an explanation).

This is a trace from Brian Lopez

brianmario@Brians-iMac mysql2.git (master): ruby -e 'p
Time.local(2010); p Time.local(1940); p Time.local(1807)'
Fri Jan 01 00:00:00 -0800 2010
Mon Jan 01 00:00:00 -0800 1940
Thu Jan 01 00:00:00 -0800 1807

This one is from José Valim

jose:~/Work[ree-1.8.7-2010.02][master]$ ruby -e 'p Time.local(2010); p
Time.local(1940); p Time.local(1807)'
Fri Jan 01 00:00:00 -0200 2010
Mon Jan 01 00:00:00 -0300 1940
Thu Jan 01 00:00:00 -0306 1807

Have you noticed also that for 1807 I get -0014 and -0015?