Display the current time.
Settings
Key |
Value |
CONFIG |
show_time
|
ENV |
KIOSK_SHOW_TIME
|
URL |
show_time
|
VALUE |
bool
|
DEFAULT |
false
|
Using with config.yaml file
Using with ENV in your docker-compose file
Using with url queries
http://{URL}?show_time=false
Display clock time in either 12-hour or 24-hour format. This can either be 12 or 24.
Settings
Key |
Value |
CONFIG |
time_format
|
ENV |
KIOSK_TIME_FORMAT
|
URL |
time_format
|
VALUE |
24 | 12
|
DEFAULT |
24
|
Using with config.yaml file
Using with ENV in your docker-compose file
Using with url queries
http://{URL}?time_format=24
Display the date.
Settings
Key |
Value |
CONFIG |
show_date
|
ENV |
KIOSK_SHOW_DATE
|
URL |
show_date
|
VALUE |
bool
|
DEFAULT |
false
|
Using with config.yaml file
Using with ENV in your docker-compose file
Using with url queries
http://{URL}?show_date=false
The format of the date. default is day/month/year.
Settings
Key |
Value |
CONFIG |
date_format
|
ENV |
KIOSK_DATE_FORMAT
|
URL |
date_format
|
VALUE |
string
|
DEFAULT |
DD/MM/YYYY
|
Using with config.yaml file
Using with ENV in your docker-compose file
KIOSK_DATE_FORMAT: DD/MM/YYYY
Using with url queries
http://{URL}?date_format=DD/MM/YYYY
You can use the below values to create your preferred date layout.
Value | Example output |
---|
YYYY | 2024 |
YY | 24 |
MMMM | August |
MMM | Aug |
MM | 08 |
M | 8 |
DDDD | Monday |
DDD | Mon |
DD | 04 |
D | 4 |
These examples assume that today’s date is the 22nd of August 2024.
- “YYYY-MM-DD” => “2024-08-22”
- “YYYY/MM/DD” => “2024/08/22”
- “YYYY:MM:DD” => “2024:08:22”
- “YYYY MM DD” => “2024 08 22”
- “YYYY MMM (DDD)” => “2024 Aug (Thur)”
- “DDDD DD MMMM YYYY” => “Thursday 22 August 2024”
The source of the clock. Either client or server.
Settings
Key |
Value |
CONFIG |
clock_source
|
ENV |
KIOSK_CLOCK_SOURCE
|
URL |
clock_source
|
VALUE |
client | server
|
DEFAULT |
client
|
Using with config.yaml file
Using with ENV in your docker-compose file
KIOSK_CLOCK_SOURCE: client
Using with url queries
http://{URL}?clock_source=client