From: Mark Michelson Date: Fri, 21 Dec 2007 20:38:18 +0000 (+0000) Subject: Store dates using local time instead of UTC X-Git-Tag: 1.6.0-beta1~3^2~325 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=269db42c0209f17550d39bf7c9dd3437e0dbca00;p=thirdparty%2Fasterisk.git Store dates using local time instead of UTC (closes issue #11610, reported and patched by rbraun_performatique) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94548 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c index 473622b8b7..fb22009b24 100644 --- a/res/res_config_sqlite.c +++ b/res/res_config_sqlite.c @@ -557,9 +557,9 @@ static char *sql_add_cdr_entry = " '%q'," " '%q'," " '%q'," -" datetime(%d,'unixepoch')," -" datetime(%d,'unixepoch')," -" datetime(%d,'unixepoch')," +" datetime(%d,'unixepoch','localtime')," +" datetime(%d,'unixepoch','localtime')," +" datetime(%d,'unixepoch','localtime')," " '%ld'," " '%ld'," " '%ld',"