1
“The difference of.current
和.now
是.now
使用服务器的时区,而.current
使用什么样的Rails环境设置为(Time.zone
),如果没有设置,那么.current
将同样作为.now
。”使用Time.now或Time.current为10.minutes.ago?
当我做10.minutes.ago
,是Rails使用Time.current
还是Time.now
?
3为参考文献。 –