Forum Discussion
Hi VarunLuthra ,
you need not to read any freemarker code, but just update the text format string, for example
friendly_dates.format.under_day = %h% 'hours ago'
I hope that it helps
- VarunLuthra11 years agoAdvisor
HaidongG - Could you please elaborate a bit more, where do I need to make this change?
- HaidongG11 years agoLithium Alumni (Retired)
Hi VarunLuthra ,
sure. go to Studio -> Text Editor -> Search for "hours ago", and reaplce/update the string
friendly_dates.format.under_day = %h% 'hours ago'
to
friendly_dates.format.under_day = %h% 'h ago'
- VarunLuthra11 years agoAdvisor
HaidongG - Thanks, this is a good workaround, but the problem with this is, using friendly_dates.format.under_day = %h% 'h ago' the Output is 14 h ago, but i want it 14h ago, i.e. without a space b/w 14 and h,
If I use, friendly_dates.format.under_day = %h%'h ago'
Output - 14'h ago
If I use, friendly_dates.format.under_day = %h% h ago
It doesn't print anything, any suggestions how can I encounter this?
Related Content
- 7 years ago
- 10 years ago
- 7 years ago
- 12 months ago