diff --git a/www/index.html b/www/index.html index 43913b2ba6..7b9e19f54c 100644 --- a/www/index.html +++ b/www/index.html @@ -35,7 +35,7 @@ # XXX I can't believe I'm doing this. Evolve aspen.utils.to_age! age = to_age(participant['claimed_time'], fmt_past="%(age)s") age = age.replace('just a moment', 'just now') - age = age.replace('a', '1').replace('an', '1') + age = age.replace('an ', '1 ').replace('a ', '1 ') words = ('zero', 'one', 'two','three', 'four', 'five', 'six', 'seven', 'eight', 'nine') for i, word in enumerate(words):