From 26c06f4745773b6f7e36edfb29c99360af9a94ad Mon Sep 17 00:00:00 2001 From: Doug Bailey <dbailey@digium.com> Date: Thu, 13 Dec 2007 15:40:19 +0000 Subject: [PATCH] Tag voicemails with UTC time as opposed to local time zone git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@92737 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index be062d9642..b6136bb6ec 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2218,9 +2218,9 @@ static int get_date(char *s, int len) struct ast_tm tm; struct timeval t = ast_tvnow(); - ast_localtime(&t, &tm, NULL); + ast_localtime(&t, &tm, "UTC"); - return ast_strftime(s, len, "%a %b %e %r %Z %Y", &tm); + return ast_strftime(s, len, "%a %b %e %r UTC %Y", &tm); } static int invent_message(struct ast_channel *chan, char *context, char *ext, int busy, char *ecodes) -- GitLab