Commit Graph

8 Commits

Author SHA1 Message Date
Dirk Sohler
3d0d58fe64
add host time format setting 2019-04-12 21:56:06 +02:00
Dirk Sohler
bdd8233b04
fix day being one day of 2019-03-24 09:54:58 +01:00
Dirk Sohler
1c6245461b
Go through code documentation
See https://gitlab.com/4w/mtimer/issues/8
2019-03-16 22:48:49 +01:00
Dirk Sohler
a465d0d989
replace %T with %H:%M:%S
See https://gitlab.com/4w/mtimer/issues/7
2019-03-12 21:41:53 +01:00
Dirk Sohler
5a0f2904fa
write code documentation 2019-02-22 20:33:42 +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
e84fa467db
implement time getting function 2019-02-21 14:37:58 +01:00