Help - Search - Members - Calendar
Full Version: Date in all language
Invision Power Services > Invision Power Services, Inc. > IPS Company Feedback > IP.Board
Bs_Ramin
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) innocent.gif


now all date is writed in all language possible w00t.gif
Fabien
This functionality is in great demand by IPB's users non-english (with ACP per language pack) happy.gif

Apparently, that will be added in the next version (see : Bug ID #423: Localized date) original.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.