Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Position Word Ago
#1
In my language i need word "ago" for time to be before numbers:

ex: 11 hours ago
my : ago 11 hours

   

How can i change this?
Reply
#2
Open global.lang.php and find somewhere near line no. 355:

$l['rel_time'] = "<span title=\"{5}{6}\">{1}{2} {3} {4}</span>";

replace with:

$l['rel_time'] = "<span title=\"{5}{6}\">{4} {1}{2} {3}</span>";
[Image: logo.svg.svg]
Reply
#3
(04-21-2018, 05:22 AM)effone Wrote: Open global.lang.php and find somewhere near line no. 355:

$l['rel_time'] = "<span title=\"{5}{6}\">{1}{2} {3} {4}</span>";

replace with:

$l['rel_time'] = "<span title=\"{5}{6}\">{4} {1}{2} {3}</span>";

Thanks that works

One more thing can i change timeformat without "ago" word.

example: today, 11:40

i dont need time ago date
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)