mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
Get ordering of dates in Spanish right (dd-mm-yyyy)
1. Switch from mm-dd-yyyy to dd-mm-yyyy 2. Insert "de" (Spanish for "of") preposition. 3. Document this new voice recording "of.wav". As reported in FS-7279.
This commit is contained in:
@@ -335,8 +335,10 @@ static switch_status_t es_say_time(switch_core_session_t *session, char *tosay,
|
||||
|
||||
if (say_date) {
|
||||
say_file("time/day-%d.wav", tm.tm_wday);
|
||||
say_file("time/mon-%d.wav", tm.tm_mon);
|
||||
say_num(tm.tm_mday, SSM_PRONOUNCED);
|
||||
say_file("time/of.wav");
|
||||
say_file("time/mon-%d.wav", tm.tm_mon);
|
||||
say_file("time/of.wav");
|
||||
say_num(tm.tm_year + 1900, SSM_PRONOUNCED);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user