To get a translatable output, give a Symfony\Component\Translation\TranslatorInterface
as constructor argument. The returned string is formatted as diff.ago.XXX
or diff.in.XXX where XXX can be any valid unit: second, minute, hour, day, month, year.