简单的说,to_json 中 DateTime 使用的是iSO 8601 标准格式,而to_s 的源码我这里版本是这样,也就是 time.strftime 直接格式化输出 def to_s(format ...
確定! 回上一頁