Fixed 11 and 12 for sam.
This commit is contained in:
parent
dbb7c815e8
commit
0c033aca21
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user