Jump to content

Recommended Posts

Posted

Hey,

I used the ToolsTimeFormat module some time ago. Now I saw wireRelativeTimeStr() for the first time - and it seems like doing the same thing. Is there any difference? When was this function added? And how about multilanguage support in this function?

-- Nico

Posted

wireRelativeTimeStr() has been there since PW 2.3 if I recall correctly. All the words in it are translatable via the translation tool pointed at /wire/core/Functions.php.

  • Like 2
  • 4 weeks later...
  • 1 year later...
Posted

May I use this thread because Nico asked about translatability for wireRelativeTimeStr

Just wanted to "complain" about the translation of this function, but after rechecking the translation file in back end, wondering about "Q P T", checking code again, try to reorder Q P T in german to "T Q P" et voilà it's exactly like it should be in german, at least for my thinking ;-)

Never stumbled upon such a way, but I really like it. Ryan you genious! :D

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...