标签:class code ftime ruby pre blog strftime logs nbsp
> Time.now.strftime(‘%Y-%m-%d %H:%M:%S‘) => "2017-01-22 13:13:18"
time format in ruby
原文地址:http://www.cnblogs.com/iwangzheng/p/6340055.html