module/clock: user can now specify the date/time format strings

This commit is contained in:
Daniel Eklöf 2019-01-09 18:41:16 +01:00
parent 9037aadd04
commit 7fc9749c28
4 changed files with 33 additions and 8 deletions

View file

@ -3,4 +3,5 @@
#include "../module.h"
#include "../particle.h"
struct module *module_clock(struct particle *label);
struct module *module_clock(
struct particle *label, const char *date_format, const char *time_format);