Fixed 11 and 12 for sam.

This commit is contained in:
Storm Dragon 2018-07-13 23:02:02 -04:00
parent dbb7c815e8
commit 0c033aca21
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ if [ "$speakTime" == "true" ] ; then
flite_time $(date +'%H:%M') &> /dev/null
;;
"sam")
sam "$(echo "$timeString" | sed -e 's/A M/ AY EM/' -e 's/PM/ PEE EM/' -e 's/10/ ten /g' -e 's/0*//g')"
sam "$(echo "$timeString" | sed -e 's/A M/ AY EM/' -e 's/PM/ PEE EM/' -e 's/10/ ten /g' -e 's/11/ eleven /g' -e 's/12/ twelve /g' -e 's/0*//g')"
;;
"speech-dispatcher")
spd-say -w -P important "$timeString"