projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small fix
[asterisk/asterisk.git]
/
apps
/
app_voicemail2.c
diff --git
a/apps/app_voicemail2.c
b/apps/app_voicemail2.c
index
54c9e2d
..
4223504
100755
(executable)
--- a/
apps/app_voicemail2.c
+++ b/
apps/app_voicemail2.c
@@
-2084,7
+2084,7
@@
static int play_datetime_format(struct ast_channel *chan, time_t time, struct vm
case 'P':
case 'p':
/* AM/PM */
- if ((tm.tm_hour == 0) || (tm.tm_hour > 12))
+ if ((tm.tm_hour == 0) || (tm.tm_hour > 11))
snprintf(nextmsg,sizeof(nextmsg), DIGITS_DIR "p-m");
else
snprintf(nextmsg,sizeof(nextmsg), DIGITS_DIR "a-m");