[#6363] Re: rescue clause affecting IO loop behavior — ts <decoux@...>

>>>>> "D" == David Alan Black <dblack@candle.superlink.net> writes:

17 messages 2000/11/14
[#6367] Re: rescue clause affecting IO loop behavior — David Alan Black <dblack@...> 2000/11/14

Hello again --

[#6582] best way to interleaf arrays? — David Alan Black <dblack@...>

Hello --

15 messages 2000/11/26

[#6646] RE: Array Intersect (&) question — Aleksi Niemel<aleksi.niemela@...>

Ross asked something about widely known and largely ignored language (on

23 messages 2000/11/29
[#6652] RE: Array Intersect (&) question — rpmohn@... (Ross Mohn) 2000/11/29

aleksi.niemela@cinnober.com (Aleksi Niemel) wrote in

[#6723] Re: Array Intersect (&) question — Mathieu Bouchard <matju@...> 2000/12/01

> >Use a hash. Here's code to do both and more. It assumes that

[#6656] printing/accessing arrays and hashes — raja@... (Raja S.)

I'm coming to Ruby with a Python & Common Lisp background.

24 messages 2000/11/30

[ruby-talk:6526] Re: Time Trouble

From: Niklas Backlund <d99-nba@...>
Date: 2000-11-22 19:24:18 UTC
List: ruby-talk #6526

On Thu, 23 Nov 2000, Dave Thomas wrote:

> Niklas Backlund <d99-nba@nada.kth.se> writes:
>
> >
> > Can someone please explain this result to me:
> >
> > irb(main):001:0> 1.upto(12) {|m| puts Time.local(2000, m, 1, 0, 0)}
> > Sat Jan 01 00:00:00 GMT+1:00 2000
> > Tue Feb 01 00:00:00 GMT+1:00 2000
> > Wed Mar 01 00:00:00 GMT+1:00 2000
> > Sat Apr 01 01:00:00 GMT+1:00 2000
> > Mon May 01 01:00:00 GMT+1:00 2000
> > Thu Jun 01 01:00:00 GMT+1:00 2000
> > Sat Jul 01 01:00:00 GMT+1:00 2000
> > Tue Aug 01 01:00:00 GMT+1:00 2000
> > Fri Sep 01 01:00:00 GMT+1:00 2000
> > Sun Oct 01 01:00:00 GMT+1:00 2000
> > Wed Nov 01 00:00:00 GMT+1:00 2000
> > Fri Dec 01 00:00:00 GMT+1:00 2000
>
> What is your system's timezone set to?

It simply says "GMT+1:00" on this one (Win98). On my
laptop (Win95) it says something like "Western European
Standard Time" (I don't have it here at the moment, can
check tomorrow). Both of them have the same problem.

My current workaround is to use UTC times, but it would
be really nice to have my objects referring to local
times.
(I'm writing a small utitlity for handling time reports)

>
> Dave
>

/Niklas


In This Thread