|
Wcal 2.8 documentationUsing "special days"Special days are particular days in year that you want to distinguish from the other days. For example, you can consider non-working days.Special days are displayed on grey background. They are displayed with a text in italic at the top-left of the cell in the month and the year view like this:
and they are marked with a Special days are defined in a wcal.sdays file located at the same place as wcal.conf. The file is an hash table where the keys are the dates and the values are the strings to be displayed corresponding to the dates. By default, the wcal.sdays file is an empty hash table (no special days). Sample files:
Date format is day/month/year with year on 4 digits and day and month without extra "0" characters. Year can be replaced by "*" when special day occurs at the same date every year. For example: { '1/1/*' => "New Year", '15/1/2001' => "Martin Luther King's Birthday", '19/2/2001' => "Presidents' Day", '13/4/2001' => "Good Friday", '28/5/2001' => "Memorial Day", '4/7/*' => "Independance Day", '3/9/2001' => "Labor Day", '8/10/2001' => "Columbus Day", '12/11/2001' => "Veterans' Day", '22/11/2001' => "Thanksgiving", '25/12/*' => "Christmas" }; Contibutors are welcome for other countries. Back to the Wcal main page |