Commit Graph

10 Commits

Author SHA1 Message Date
Dirk Sohler
2e3cc57297
implement timer update function 2019-02-22 15:29:08 +01:00
Dirk Sohler
3aeae84356
implement timer format setting 2019-02-22 14:08:44 +01:00
Dirk Sohler
1817f4b046
unification and configuration additions 2019-02-21 21:07:35 +01:00
Dirk Sohler
89cd1f6212
implement ingame time format setting
Convert ingame time to millihours and calculate the timestamp from this.
It results in a default timestampo that is parsed by default date and
time functions.

Replacement variables:

{24h} = 24 hours time
{12h} = 12 hours time
{min} = minutes
{its} = ingame timestamp

For some reason I was not able to get the am/pm indicator (`%p`) so 12
hours format is only the time and no optional indicator.
2019-02-21 16:16:10 +01:00
Dirk Sohler
fbca7a64fa
implement timezone offset configuration 2019-02-19 13:40:19 +01:00
Dirk Sohler
4c5de1fb42
add a helper function to build the formspec frame
fixes https://gitlab.com/4w/mtimer/issues/4
2019-02-18 22:02:59 +01:00
Dirk Sohler
34c78e20af
add color configuration 2019-02-17 03:10:41 +01:00
Dirk Sohler
970bf47ec0
implement position selection 2019-02-17 01:31:10 +01:00
Dirk Sohler
613ebf046d
extend chat command 2019-02-16 17:33:16 +01:00
Dirk Sohler
028cdbf99e
establish formspec system 2019-02-16 16:45:32 +01:00