char sndfile[256], nextmsg[256];
if (format == NULL)
- format = "ABdY 'digits/at' IMp";
+ format = "AdBY 'digits/at' IMp";
ast_localtime(&when, &tm, tzone);
res = wait_file(chan, ints, nextmsg, lang);
break;
case 'Q':
- /* Shorthand for "Today", "Yesterday", or ABdY */
+ /* Shorthand for "Today", "Yesterday", or AdBY */
/* XXX As emphasized elsewhere, this should the native way in your
* language to say the date, with changes in what you say, depending
* upon how recent the date is. XXX */
/* Yesterday */
res = wait_file(chan, ints, "digits/yesterday", lang);
} else {
- res = ast_say_date_with_format_nl(chan, t, ints, lang, "ABdY", tzone);
+ res = ast_say_date_with_format_nl(chan, t, ints, lang, "AdBY", tzone);
}
}
break;
case 'q':
- /* Shorthand for "" (today), "Yesterday", A (weekday), or ABdY */
+ /* Shorthand for "" (today), "Yesterday", A (weekday), or AdBY */
{
struct timeval now = ast_tvnow();
struct ast_tm tmnow;
/* Within the last week */
res = ast_say_date_with_format_nl(chan, t, ints, lang, "A", tzone);
} else {
- res = ast_say_date_with_format_nl(chan, t, ints, lang, "ABdY", tzone);
+ res = ast_say_date_with_format_nl(chan, t, ints, lang, "AdBY", tzone);
}
}
break;