search for: pub_at

Displaying 1 result from an estimated 1 matches for "pub_at".

Did you mean: pbhat
2010 May 31
0
Rails 3 timezone error
...struggling with time zone support in Rails 3 beta and I would like to know if it is a bug or if I am doing something wrong. He is the problem: > Time.zone = ''Madrid'' # it is GMT+2 => "Madrid" > c = Comment.new => #<Comment id: nil, title: "", pub_at: nil> > c.pub_at = Time.zone.parse(''10:00:00'') => Mon, 31 May 2010 10:00:00 CEST +02:00 > c.save > c => #&lt;Comment id: 3, title: "", pub_at: "2010-05-31 08:00:00"> > c.reload => #&lt;Comment id: 3, title: "", pu...