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 e9a1596 commit 3ec6906Copy full SHA for 3ec6906
2 files changed
Rakefile
@@ -14,7 +14,7 @@ namespace :holidays do
14
data = YAML.load(URI.open('https://raw.githubusercontent.com/holiday-jp/holiday_jp/master/holidays.yml'))
15
data = data.map do |v|
16
v[1] = '振替休日' if v[1].match(/振替休日/)
17
- v[1] = '国民の休日' if v[1].match(/休日/)
+ v[1] = '国民の休日' if v[1] == '休日'
18
v
19
end.to_h
20
YAML.dump(data, File.open('holidays.yml', 'w'))
0 commit comments