We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2af6f2 commit 56e44baCopy full SHA for 56e44ba
app/controllers/dojos_controller.rb
@@ -69,7 +69,7 @@ def index
69
70
# 表示用の日付テキスト
71
display_date = "#{@selected_year}年末"
72
- display_date = Date.current.strftime('%Y年%m月%d日') if @selected_year == Date.current.year
+ display_date = Date.current.strftime('%Y年%-m月%-d日') if @selected_year == Date.current.year
73
74
flash.now[:inline_info] = "#{display_date}時点のアクティブな道場を表示中<br>(開設数: #{new_dojos_count} / 合計数: #{total_dojos_count})".html_safe
75
end
0 commit comments