diff options
author | Doug Bailey <dbailey@digium.com> | 2007-12-13 15:40:19 +0000 |
---|---|---|
committer | Doug Bailey <dbailey@digium.com> | 2007-12-13 15:40:19 +0000 |
commit | 26c06f4745773b6f7e36edfb29c99360af9a94ad (patch) | |
tree | 6f1bd4c5485f48d71e7a931bfd7b73782bf02e4b /apps | |
parent | 78465ad2a35ef7d5eae23bbd3480492d5c35a6e9 (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index be062d964..b6136bb6e 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) |