Ruby Time.at show different timezone

98 Views Asked by At

I currently have my system's timezone set to +4. However, when I run Time.at(0) the timezone appears as +3.

2.0.0p353 :001 > Time.now
=> 2013-12-02 17:52:52 +0400
2.0.0p353 :002 > Time.at(0)
=> 1970-01-01 03:00:00 +0300

Why is Time.at(0) showing the wrong timezone?

0

There are 0 best solutions below