You could also just map "seconds" to "s" with a hash instead of using conditionals.