This is a very simple module intended to add time class to the <body> tag.
Editor can set four types of time classes:

  • Season: 'winter', 'spring', 'summer', 'autumn' classes (with hemispheres features).
  • Month: classes with appropriate names.
  • Day of week: classes with appropriate names
  • Time of day: 'morning', 'afternoon', 'evening', 'night' classes (with JS, which prints the real user time).

Also, available to you three events - St Valentine's Day, Christmas and New Year with configurable periods of beginning or end of class output.

Plus, editor can create their own custom classes,which will be printed for a predetermined period.

Project information

Releases