Date format (Put the "ago" first)
-
Junior Member
Date format (Put the "ago" first)
Hi.
Since I'm translating my site into Spanish, I need to change the date format, yet not in the way it's been asked here.
In Spanish, the date format is the other way round: literally, instead of "X minutes ago", it'd be "ago X minutes". Thing is my pligg site displays it in the first way, and it makes it look Shakespeare-ish language. How can I simply change the position?
Thanks.
-
Junior Member
Head to link_summary.tpl for example find these two and swap them (we've done the same as our site is in Czech and it uses the opposite to English):
First string: {$link_submit_timeago}
Second string: {#PLIGG_Visual_Comment_Ago#}
Our line now looks like: {#PLIGG_Visual_Comment_Ago#} {$link_submit_timeago}
Last edited by JoeWa; 04-29-2012 at 02:42 PM.
-
Junior Member
Thanks! That fixed the stories date, how could I change the comments date format?
Again, thanks a lot!
-
Junior Member
We don't use the default comments system, but I had a quick look and it seems to be in comment_show.tpl:
{$comment_age} {#PLIGG_Visual_Comment_Ago#}
(same deal, swap 'em around)
-
Junior Member
Perfect! Thank you so much for your help
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules