From 47f2758c8f8177ac915503d20a417ae1fad4672a Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 11 Jan 2011 00:51:12 -0500 Subject: [PATCH] Holidays - Added new holiday configuration file for Italy (thanks to Nicola Busanello). --- AUTHORS | 1 + ChangeLog | 1 + NEWS | 2 +- doc/rc/holidays-IT.rc | 68 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 doc/rc/holidays-IT.rc diff --git a/AUTHORS b/AUTHORS index 930933504..2c0f43e9d 100644 --- a/AUTHORS +++ b/AUTHORS @@ -37,6 +37,7 @@ The following submitted code, packages or analysis, and deserve special thanks: Itay Perl Sander Marechal Stephen Heywood + Nicola Busanello Thanks to the following, who submitted detailed bug reports and excellent suggestions: diff --git a/ChangeLog b/ChangeLog index 30c6dd469..5fccfdbed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -34,6 +34,7 @@ will stop the task first (thanks to Andy Kriger). + Added feature #629, a new holiday configuration file for New Zealand (thanks to Stephen Haywood) + + Added new holiday configuration file for Italy (thanks to Nicola Busanello). + Eliminated dependency on ncurses. + The dependency columns are now right-justified (thanks to Eric Fluger). + Fixed bug that caused the 'done' command to always exit with a non-zero diff --git a/NEWS b/NEWS index cbafa05ef..ab64898d0 100644 --- a/NEWS +++ b/NEWS @@ -49,7 +49,7 @@ New configuration options in taskwarrior 1.9.4 the 'task edit' command. - xterm.title can be set to 'on' to update the xterm window title when a report is run. - - new holidays configuration file for New Zealand + - new holidays configuration file for New Zealand, Italy. Newly deprecated features in taskwarrior 1.9.4 diff --git a/doc/rc/holidays-IT.rc b/doc/rc/holidays-IT.rc new file mode 100644 index 000000000..7d645d89c --- /dev/null +++ b/doc/rc/holidays-IT.rc @@ -0,0 +1,68 @@ +################################################################################ +# Sample calendar for the US +# +# taskwarrior - a command line task list manager. +# +# Copyright 2011, Nicola Busanello +# All rights reserved. +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; if not, write to the +# +# Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, +# Boston, MA +# 02110-1301 +# USA +# +################################################################################ + +calendar.holidays=sparse + +# 2011 + +# fisse (legali) +holiday.capodanno.name=Capodanno +holiday.capodanno.date=20110101 +holiday.sanmarco.name=Festa della liberazione +holiday.sanmarco.date=20110425 +holiday.lavoratori.name=Festa del lavoro +holiday.lavoratori.date=20110501 +holiday.repubblica.name=Festa della repubblica +holiday.repubblica.date=20110602 + +# fisse (cristiane) +holiday.epifania.name=Epifania +holiday.epifania.date=20110106 +holiday.ferragosto.name=Assunzione (ferragosto) +holiday.ferragosto.date=20110815 +holiday.ognissanti.name=Ognissanti +holiday.ognissanti.date=20111101 +holiday.madonna.name=Immacolata concezione +holiday.madonna.date=20111208 +holiday.natale.name=Natale +holiday.natale.date=20111225 +holiday.sstefano.name=S.to Stefano +holiday.sstefano.date=20111226 + +# variabili (cristiane) +holiday.carnevale.name=Carnevale +holiday.carnevale.date=20110308 +holiday.pasqua.name=Pasqua +holiday.pasqua.date=20110424 +# nel 2011 coincide con la festa della liberazione +#holiday.pasqua.name=Pasquetta +#holiday.pasqua.date=20110425 + +# 2012 +