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
1.6.0
Doug Bailey 18 years ago
parent 78465ad2a3
commit 26c06f4745

@ -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)

Loading…
Cancel
Save