From c37e78510f2ac4d9bb4c44eddf33352eda72fd0f Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Wed, 3 Feb 2010 00:19:24 +0100 Subject: Makes date/time formats configurable. --- conf/conf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'conf/conf.c') diff --git a/conf/conf.c b/conf/conf.c index 7ffe8d1..bc0715a 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; -- cgit v1.2.3