time object in ruby

June 03, 2015

Reading time ~1 minute

Time object in ruby can not parse Time string(e.g. 2015-05-29T19:59:48+09:00) by default.

# return Time objet with "2015-01-01 00:00:00 +0900"
Time.new("2015-05-29T19:59:48+09:00")

You need to require time to extend default time.

# return Time objet with "2015-05-29T19:59:48+09:00"
Time.parse("2015-05-29T19:59:48+09:00")

add ticket number to git commit automatically

Most of ticket tracker like Github, pivotal tracker have function to connect your commit to ticket(story).But every time when you commit ...… Continue reading

I will build frontend and backend separately

Published on September 28, 2016

order of angular controller's initialisation

Published on October 05, 2015