Jump to content

Date in all language

Featured Replies

Posted

For simplify the internationalization of forum you can use instead of gmdate the php function gmstrftime

return gmstrftime($this->time_options[$method], ($date + $this->offset) );

instead of

return gmdate($this->time_options[$method], ($date + $this->offset) );

with the function setlocale() before (argoument of setlocale editable directly by admin cp) o:)


now all date is writed in all language possible (w00t)

This functionality is in great demand by IPB's users non-english (with ACP per language pack) ^_^

Apparently, that will be added in the next version (see : Bug ID #423: Localized date) :)

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.