...
Day is associated to the name of the working day to be set up:
...
title | day |
---|
...
day |
...
Day = ‘monday’ |
Day = ‘monday’ |
Start_time parameter is the starting hour for the specified day, the format must be hour:minutes
...
Code Block | ||
---|---|---|
| ||
[[gt.days.holidays]] day="" start_date = "" end_date = "" message = '' | ||
title |
Day
...
is associated to the name of the holiday day to be set up:
...
day = |
...
‘christmas’ |
Start_date parameter is the starting day for the specified holiday, the format must be month-day
...
End_date parameter is the ending day for the specified dayholiday, the format must be month-day
...
Message parameter is included so a custom message can be set up for the specific holiday, instead of having a generic message for all the holidays:
message = ‘This is christmas custom message’ |
Example single holiday:
Code Block | ||
---|---|---|
| ||
[[gt.days.holidays]]
day="Christmas"
start_date = "11-25"
end_date = "11-25"
message = 'This is christmas custom message' |
Example multiple holidays:
Code Block | ||
---|---|---|
| ||
[[gt.days.holidays]]
day="Christmas"
start_date = "11-25"
end_date = "11-25"
message = 'This is Christmas custom message'
[[gt.days.holidays]]
day="Thanksgiving"
start_date = "11-23"
end_date = "11-23"
message = 'This is Thanksgiving custom message'
[[gt.days.holidays]]
day="Labor Day"
start_date = "09-02"
end_date = "09-02"
message = 'This is Labor Day custom message' |
Info |
---|
Note that the structure for a holiday starts with |