[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Patch for static holidays with year
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Patch for static holidays with year
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Thu, 27 Mar 2008 10:08:15 +0100
- References: <ADFE09B14D3F3A408FF655E276E486FC0C2F59CB (at) buster.exnet.iastate.edu>
- User-agent: Mutt/1.5.15+20070412 (2007-04-11)
Thanks, just like I would have done it. Patch applied.
Regards,
Henrik
On Fri, Mar 21, 2008 at 01:39:21PM -0500, Dugan, Darin D [EIT] wrote:
> Attached is a rudimentary patch to lib/holidays.h and lib/holidays.c
> which allows you to optionally specify a year on static holiday entries.
> (Anything not in the current year is simply ignored.)
>
> We needed this type of functionality for organization-chosen floating
> holidays. For example we get two days for Christmas, but which days
> vary. (This year 12/25, 12/26...next year 12/24, 12/25...then 12/23,
> 12/24...12/23, 12/26, etc.)