Home English Mozilla  Friday, Avril 19 06:28:25 
Wcal
Print

 Home

 Screenshots
 Demo
 Downloads

 News RSS 2.0
 FAQ
 Mail archive
Documentation
 Roadmap

 P*Wcal
 CWcal
 DWcal
 Themes
 Internationalization

 Maintainer
 Contributors
 Web repositories
 CVS

 NeoSystem
 MyNews

  
Search

Wcal 2.8 documentation

Using "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:

Christmas            
25
 
 

and they are marked with a Christmas in the week and day views.

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:

  • wcal.sdays.de (Germany)
  • wcal.sdays.fr (France)
  • wcal.sdays.us (United States)
  • wcal.sdays.it (Italy)
  • wcal.sdays.at (Austria)
  • wcal.sdays.nl (Netherlands)
  • wcal.sdays.be (Belgium Dutch)
  • ...
come with Wcal distribution.

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


© 2004 Joël Savignon