Skip to content

Instantly share code, notes, and snippets.

@henare
Created September 23, 2012 04:57
Show Gist options
  • Save henare/3768925 to your computer and use it in GitHub Desktop.
Save henare/3768925 to your computer and use it in GitHub Desktop.
Add remaining 2012 holidays to Alaveteli
holidays = [
{:day => '2012-10-01', :description => 'Labor Day (NSW ACT SA), Queen\'s birthday (QLD WA)'},
{:day => '2012-10-08', :description => 'Family and Community Day (ACT)'},
{:day => '2012-11-06', :description => 'Melbourne Cup (VIC)'},
{:day => '2012-12-24', :description => 'Christmas Eve (SA)'},
{:day => '2012-12-25', :description => 'Christmas Day'},
{:day => '2012-12-26', :description => 'Boxing Day'},
{:day => '2012-12-31', :description => 'New Years Eve (SA)'}
]
holidays.each do |holiday|
Holiday.create(holiday)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment