我注意到,当字符串中没有给出时区时,Rails' String.to_timezone方法不使用当前时区. $"2013-01-14 14:38".to_datetime => Mon, 14 Jan 2013 14:38:00 ...
確定! 回上一頁