summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2007-12-21 20:38:18 +0000
committerMark Michelson <mmichelson@digium.com>2007-12-21 20:38:18 +0000
commit269db42c0209f17550d39bf7c9dd3437e0dbca00 (patch)
tree810646aa446766c6a79837ffb8cac39ba0f3bc69
parente0b9943818bae3461199e34c3a9589e092c3f1a0 (diff)
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
-rw-r--r--res/res_config_sqlite.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c
index 473622b8b..fb22009b2 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',"