Forum Discussion

vincent-au's avatar
12 years ago

Abbreviating relative dates?

Hi there, I'm trying to tweak how relative dates are shown.  So, instead of 2 minutes ago, 2m ago; etc.  I've gone into the text keys and edited those, changing   friendly_dates.format.under_hour ...
  • ChhamaJ's avatar
    12 years ago
    Hey,

    Try this
    friendly_dates.format.under_hour = '%m%m ago'

    Hope this works.

    Thanks,
    Chhama