summaryrefslogtreecommitdiff
path: root/conf/conf.c
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2010-02-03 00:19:24 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2010-02-03 00:19:24 +0100
commitc37e78510f2ac4d9bb4c44eddf33352eda72fd0f (patch)
tree82153f7a851aeeaf6999ee59b3bd18ebbc761254 /conf/conf.c
parent44f26560ec9f108039e6736d6de929f899bf20ea (diff)
Makes date/time formats configurable.
Diffstat (limited to 'conf/conf.c')
-rw-r--r--conf/conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/conf.c b/conf/conf.c
index 7ffe8d13..bc0715ae 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -80,6 +80,8 @@ config_alloc(byte *name)
cfg_mem = c->mem = l;
c->file_name = cfg_strdup(name);
c->load_time = now;
+ c->tf_base.fmt1 = c->tf_log.fmt1 = "%d-%m-%Y %T";
+
if (!boot_time)
boot_time = now;
return c;