Forum: Ruby on Rails Time departure of timestamp and realtime

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Andi G. (Guest)
on 2008-11-08 19:58
Hi

How can remove a difference of 1 houre from the timestamp and the real
time?

If i type date in my linux shell, the result fits to the real date and
time but in my application is it 1 houre earlier.

Greeting Chaos
Jeff E. (Guest)
on 2008-11-11 23:09
(Received via mailing list)
perhaps you need to set your time zone:

http://mad.ly/2008/04/09/rails-21-time-zone-suppor...
http://ryandaigle.com/articles/2008/1/25/what-s-ne...


On Nov 8, 12:58 pm, Andi G. <removed_email_address@domain.invalid>
Andi G. (Guest)
on 2008-11-12 00:56
Thanks Jeff!

I have changed the the timezone to 'Berlin' and this works out great!

Thanks, cyaaa Andi
This topic is locked and can not be replied to.