阅读背景:

Ruby on Rails:为什么当我向DB写一个时间时,我会获得时区,然后再读回来?

来源:互联网 

I have config.time_zone in environment.rb set to "UTC", and my mySQL server returns the current time in my local time zone when I issue "select now();" and in utc when I ask for "select utc_timestamp;"I have config.time_zone in environment.rb set t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: