Forum Discussion

VarunLuthra's avatar
11 years ago

Mismatch in view_friendly_time and the post_time in API result

I am working on a customization wherein we are parsing the time to be displayed in a friendly manner, i.e. 2h ago, 3w ago etc. I know there is already a way of doing it by using ?restapi.response_sty...
  • HaidongG's avatar
    HaidongG
    11 years ago

    emmm, VarunLuthra ,

     

    may you try

     

    friendly_dates.format.today= '%h%h ago'

     

    ?