📌  相关文章
📜  rails 2个日期时间之间的分钟差 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:36.582000             🧑  作者: Mango

代码示例1
created = article.created_at
updated = article.updated_at
minutes = ((updated - created) * 24 * 60).to_i