From: Ming <mi...@gm...> - 2010-02-05 09:31:49
|
I see the same erroneous time with 00 seconds running the equivalent statement in both my perl and python interpreters. Something is wrong with my Ubuntu 9.10. Who is responsible for this part of the operating system? -Ming On Fri, Feb 5, 2010 at 2:58 AM, Mike Schilli <m...@pe...> wrote: > Interesting, I don't get that with perl 5.10.0 on Linux. What does > > perl -le 'print scalar gmtime (1030429942 - 7*3600)' > > show on your platform? > > It should be > > Mon Aug 26 23:32:22 2002 > > (that's what I get on Linux) but on your platform, I suspect, it's > > Mon Aug 26 23:32:00 2002 > > instead. Maybe a bug on a specific platform? Which one are you on? Can > you try with a later perl version? > > -- Mike > > Mike Schilli > m...@pe... > > On Thu, 4 Feb 2010, you wrote: > > This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi > > t/023Date.t .......... 1/36 >> # Failed test at t/023Date.t line 67. >> # got: '0 00 000 0000' >> # expected: '22 22 022 0022' >> >> # Failed test at t/023Date.t line 103. >> # got: '26 Aug 2002 23:32:00,123' >> # expected: '26 Aug 2002 23:32:22,123' >> >> # Failed test at t/023Date.t line 106. >> # got: '2002-08-26 23:32:00,123' >> # expected: '2002-08-26 23:32:22,123' >> >> # Failed test at t/023Date.t line 109. >> # got: '23:32:00,123' >> # expected: '23:32:22,123' >> >> # Failed test at t/023Date.t line 112. >> # got: '[Mon Aug 26 23:32:00 2002]' >> # expected: '[Mon Aug 26 23:32:22 2002]' >> # Looks like you failed 5 tests of 36. >> t/023Date.t .......... Dubious, test returned 5 (wstat 1280, 0x500) >> Failed 5/36 subtests >> >> TIA > > |