A simple web application to show current date and time
- Crate directory
/var/tmp/mytime - Create file
mytime.confin this directory with at least port defined. See "Configuration" section. - Run
python app.py - Visit
localhost:<port>
Possible configuration in /var/tmp/mytime/mytime.conf. Following options are accepted:
- port : Select on which port the application runs
- format : Select format of the displayed time (12h|24h). Default is
24h - dynamic : Whether the page should autorefresh (true|false). Default is
true
Each line has format key=value. Multiple space characters are allowed around equal signs.