name |
values |
default |
required |
counter_mode |
- true the applet act as a time counter
- false the applet act as a digital clock
|
false |
no |
local_time |
- true the client local time will be used
- false the following two parameters (timezone_hours, timezone_minutes) will be used to adjust time
|
true |
no |
timezone_hours |
±0-23 These are the hours to add to counter_time to get UTC time when counter_mode parameter is set to true. These are the hours to add to UTC to get local time when counter_mode parameter is set to false. |
0 |
no |
timezone_minutes |
±0-59 These are the minutes to add to counter_time to get UTC time when counter_mode parameter is set to true. These are the minutes to add to UTC to get local time when counter_mode parameter is set to false. |
0 |
no |
display_pattern |
Custom pattern for date-time display formatting. Within date and time pattern string, the following letters are interpreted as pattern letters representing the components of a date or time string:
- y Year
- M Month
- d Day
- H Hour
- m Minute
- s Second
- - Minus symbol
- + Plus Symbol
- : Separator Symbol
- . Separator Symbol
- Blank space
additional patterns for clock mode only (counter_mode set to false):
- w Week in year
- W Week in month
- D Day in year
- F Day of week in month
- k Hour in day (1-24)
- K Hour in am/pm (0-11)
- h Hour in am/pm (1-12)
- Z RFC 822 time zone
|
yyyy-MM-dd HH:mm:ss |
no |
input_pattern |
Custom pattern for counter_time input formatting. Within date and time pattern string, the following letters are interpreted as pattern letters representing the components of a date or time string:
- G Era designator (e.g.: AD)
- y Year
- M Month in year
- w Week in year
- W Week in month
- D Day in year
- d Day in month
- F Day of week in month
- E Day in week (e.g.: Text Tuesday; Tue)
- a Am/pm marker (e.g.: PM)
- H Hour in day (0-23)
- k Hour in day (1-24)
- K Hour in am/pm (0-11)
- h Hour in am/pm (1-12)
- m Minute in hour
- s Second in minute
- z General Time zone (e.g.: PST)
- Z RFC 822 time zone (e.g.: -0800)
|
yyyy-MM-dd HH:mm:ss |
no |
counter_time |
The target time used when counter_mode parameter is set to true. The format is specified on previous input_pattern parameter. |
2000-01-01 00:00:00 |
no |
background_color |
applet background color - the color format is a set of three hexadecimal numbers (from 00 to FF) representing primary colors RRGGBB (R=Red, G=Green, B=Blue) |
FFFFFF |
no |
background_image |
relative path to optional background image |
|
no |
img_0 |
relative path to image representing the digit "0" |
|
yes |
img_1 |
relative path to image representing the digit "1" |
|
yes |
img_2 |
relative path to image representing the digit "2" |
|
yes |
img_3 |
relative path to image representing the digit "3" |
|
yes |
img_4 |
relative path to image representing the digit "4" |
|
yes |
img_5 |
relative path to image representing the digit "5" |
|
yes |
img_6 |
relative path to image representing the digit "6" |
|
yes |
img_7 |
relative path to image representing the digit "7" |
|
yes |
img_8 |
relative path to image representing the digit "8" |
|
yes |
img_9 |
relative path to image representing the digit "9" |
|
yes |
img_sep |
relative path to image representing the separator symbol ":" |
|
yes |
img_blk |
relative path to image representing the blank space " " |
|
yes |
img_neg |
relative path to image representing the plus symbol "+" |
|
yes |
img_pos |
relative path to image representing the minus symbol "-" |
|
yes |