添加日期格式初始化文件
This commit is contained in:
parent
ff0324ef24
commit
ba794c7657
|
@ -0,0 +1,3 @@
|
|||
Time::DATE_FORMATS[:default] = '%Y-%m-%d %H:%M:%S'
|
||||
Time::DATE_FORMATS[:full] = '%Y-%m-%d %H:%M:%S'
|
||||
Time::DATE_FORMATS[:short_ordinal] = lambda { |time| time.strftime("%B #{time.day.ordinalize}") }
|
Loading…
Reference in New Issue