From: Dragos Oancea Date: Thu, 28 Feb 2019 20:27:40 +0000 (-0500) Subject: FS-11373: [mod_say_it] fix say date X-Git-Tag: v1.8.6~1^2~106^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c4e9995f54cf01215aa3ee3553910ac63fe6aadb;p=thirdparty%2Ffreeswitch.git FS-11373: [mod_say_it] fix say date --- diff --git a/src/mod/say/mod_say_it/mod_say_it.c b/src/mod/say/mod_say_it/mod_say_it.c index c94ea7990a..14276e98e5 100644 --- a/src/mod/say/mod_say_it/mod_say_it.c +++ b/src/mod/say/mod_say_it/mod_say_it.c @@ -390,7 +390,7 @@ static switch_status_t it_say_time(switch_core_session_t *session, char *tosay, } if (say_date) { - say_year = say_month = say_day = say_dow = 1; + say_year = say_month = say_day = say_dow = 0; say_today = say_yesterday = 0; say_file("time/day-%d.wav", tm.tm_wday);