阅读背景:

如何在用户的时区显示时间

来源:互联网 

I am using rails 3.0.5 and I have created_at and updated_at stored in UTC. Now I want to display the created_at time in users' timezone. I believe it is possible to pick user's timezone from the browser and then convert time to user's timezone.I am using rails 3.0.5 and I have created_at an




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

分享到: