Weekends and holidays are grayed out in the Time Tracker

Discussion forum about Anuko Time Tracker
Post Reply
Yefims
Posts: 4
Joined: Tue Jan 17, 2017 11:29 pm

Weekends and holidays are grayed out in the Time Tracker

Post by Yefims » Mon Nov 20, 2017 6:22 pm

In the Time Tracker the weekends and holidays are grayed out. How can I change that?

Nik
Posts: 419
Joined: Wed May 26, 2010 5:55 pm

Re: Weekends and holidays are grayed out in the Time Tracker

Post by Nik » Wed Dec 20, 2017 2:46 am

Yefims wrote:In the Time Tracker the weekends and holidays are grayed out. How can I change that?
For holidays: set SHOW_HOLIDAYS to false in your config.php. By default it's on.

Code: Select all

SHOW_HOLIDAYS
This option defines whether holidays in calendar are highlighted with a different color.

// Holidays. At this time holiday days are defined in the localization files (one file per language).
// The SHOW_HOLIDAYS option defines whether holidays are highlighted with holiday color.
//
define('SHOW_HOLIDAYS', true);
For weekends, I believe you will have to modify the Calendar class slightly.

Yefims
Posts: 4
Joined: Tue Jan 17, 2017 11:29 pm

Re: Weekends and holidays are grayed out in the Time Tracker

Post by Yefims » Wed Dec 20, 2017 5:39 pm

Thank you. I will try this out.

Post Reply