From: Doug Bailey Date: Thu, 13 Dec 2007 15:40:19 +0000 (+0000) Subject: Tag voicemails with UTC time as opposed to local time zone X-Git-Tag: 1.6.0-beta1~3^2~444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26c06f4745773b6f7e36edfb29c99360af9a94ad;p=thirdparty%2Fasterisk.git 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 --- 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)