[asterisk-commits] dbailey: trunk r92737 - /trunk/apps/app_voicemail.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Dec 13 09:40:20 CST 2007
Author: dbailey
Date: Thu Dec 13 09:40:19 2007
New Revision: 92737
URL: http://svn.digium.com/view/asterisk?view=rev&rev=92737
Log:
Tag voicemails with UTC time as opposed to local time zone
Modified:
trunk/apps/app_voicemail.c
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=92737&r1=92736&r2=92737
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Thu Dec 13 09:40:19 2007
@@ -2218,9 +2218,9 @@
struct ast_tm tm;
struct timeval t = ast_tvnow();
- ast_localtime(&t, &tm, NULL);
-
- return ast_strftime(s, len, "%a %b %e %r %Z %Y", &tm);
+ ast_localtime(&t, &tm, "UTC");
+
+ 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)
More information about the asterisk-commits
mailing list