From 0c033aca211fae7391d20c71b13d7ee7f4ae4528 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 13 Jul 2018 23:02:02 -0400 Subject: [PATCH] Fixed 11 and 12 for sam. --- src/talking-clock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/talking-clock b/src/talking-clock index 7205a15..15a0e10 100755 --- a/src/talking-clock +++ b/src/talking-clock @@ -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"