MyBB Community Forums

Full Version: Date short names help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey!

I want to translate the short names of monts which are showing in postbit.
For example: "Joined: Feb 2008".

I couldn't find the file they are in.


Thanks!
Did you check the Language files?
Yes, I did. Actually i have them translated in 100% Smile There are only full names and what i'm looking for ar short month names Smile
I don't think dates can be translated at the moment because we use the language that PHP is using.

See

http://ca3.php.net/manual/en/function.strftime.php
and
http://ca3.php.net/manual/en/function.setlocale.php
MyBB is using date() function, is that right?
Then it sucks... it should use strftime then dates would display correct... :/
Thanks for your postively-worded suggestion.
Sorry, but how would you describe it otherwise? Anyway, it was used only to describe this particular problem - I really like MyBB overall, and I think it's a very good piece of software. Yeah, date issue can be considered as minor problem, but there is no easy workaround for non-English boards other than changing format to a numerical one, which doesn't look that good. One of the most popular BB software (and probably one of the best) and such problem... I just hope you're going to change this in upcoming version Smile
Most of MyBB's calls to gmdate are through the wrapper my_date function. I'm sure you can modify my_date to use gmstrftime, and have some str_replace calls to replace the date codes with the %x type.