Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Kenta Murata's Profile

GitHub User: mrkn


Comments by Kenta Murata


If you want to get a time with a specific time zone, you can do:

ruby"Asia/Tokyo").local(2012, 1, 1)  # => Sun, 01 Jan 2012 00:00:00 JST +09:00