Info: Performing the steps described in this article requires direct server access. Depending upon how your system is hosted and the level of access you have to that system, coordination may be required with your Partner or WoodWing Support team. For a full overview of the steps that need to be done by WoodWing and how to request them, see WoodWing Cloud - Change management.
Working days and non-working days
When deadlines are calculated, any non-working days of the week should be excluded (such as Saturdays and Sundays).
Note: Any day that is not defined as a non-working day is automatically treated as a working day.
Days that should be defined as non-working days are controlled by the following option:
- File: configserver.php file (recommended: config_overrule.php file)
- Name of option: NONWORKDAYS
- Possible values: 0 – 6 (multiple values should be separated by a comma)
- 0 = Sunday
- 1 = Monday
- 2 = Tuesday
- 3 = Wednesday
- 4 = Thursday
- 5 = Friday
- 6 = Saturday
- Default setting: 0, 6
- Example:
define ('NONWORKDAYS', serialize(array(
0, 6
)));
Holidays
When deadlines are calculated, any (national) holidays on which no work is performed should be excluded.
Days that should be defined as a holiday are controlled by the following option:
- File: configserver.php file (recommended: config_overrule.php file)
- Name of option: HOLIDAYS
- Possible values: dates in yyyy-mm-dd or mm-dd format.
Note: When including the year, the holiday is specific to that year only; when leaving out the year, the holiday will be specific to each year.
- Example:
define ('HOLIDAYS', serialize(array(
'01-01', // New Year
'04-30', // Queen's Day
'12-25', '12-26', // Christmas
// 2012
'2012-04-06', // Good Friday
'2012-04-09', // Easter Monday
'2012-05-17', // Ascension Day
'2012-05-28', // Pentecost Monday
// 2013
'2013-03-29', // Good Friday
'2013-04-01', // Easter Monday
'2013-05-09', // Ascension Day
'2013-05-20', // Pentecost Monday
// 2014
'2014-04-18', // Good Friday
'2014-04-21', // Easter Monday
'2014-05-29', // Ascension Day
'2014-06-09', // Pentecost Monday
)));
First working day of the week
Users of Studio for InDesign and InCopy can perform a search for all files that have been created or modified either last week or the following week. In order to perform the search, Studio Server needs to know on which day a week begins. By default, the system treats Monday as the first day of the week. This is controlled by the following option:
- File: configserver.php file (recommended: config_overrule.php file)
- Name of option: FIRST_DAY_OF_WEEK
- Possible values: 0 – 6
- 0 = Sunday
- 1 = Monday
- 2 = Tuesday
- 3 = Wednesday
- 4 = Thursday
- 5 = Friday
- 6 = Saturday
- Default setting: 1
- Example:
define ('FIRST_DAY_OF_WEEK', 1);
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.