Fix formatting for pretty time

Would wait, but this is an issue on a current project.

Fixes https://github.com/spree/spree/issues/3018