---
title: "ror中格式化日期类型"
author: "fourfire"
date: "2007-01-10T05:36:21Z"
tags: []
slug: "ror"
draft: false
lastmod: "2007-01-10T05:36:21Z"
id: 45767
url: "https://fourfire.iteye.com/blog/45767"
---

datetime.strftime('%Y年%m月%d日')有以下参数可选%A, %a, %B, %b, %C, %c, %D, %d, %e, %F, %G, %g, %H, %h, %I, %j, %k, %l, %M, %m, %n, %P, %p, %R, %r, %S, %s, %T, %t, %U, %u, %V, %v, %W, %w, %X, %x, %Y, %y, %Z, %z, %%, %+