Skip to content

Commit

Permalink
Fixed 11 and 12 for sam.
Browse files Browse the repository at this point in the history
  • Loading branch information
stormdragon2976 committed Jul 14, 2018
1 parent dbb7c81 commit 0c033ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/talking-clock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0c033ac

Please sign in to comment.