mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
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
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user