Comment / #4051

I suggested in dates are currently not localized to write our own implementation of gmstrftime, based on gmdate() and localization tables. That would remove the need to use setlocale() completely and would make localized dates completely portable. We just need a few more language strings (namely the names of months and weekdays, both long and short). [pixtur] rejected the idea fearing performance problems. My opinion is: if the user wants localized dates, he/she will have to pay for them. If we make them optional so that the user don't have to pay if he/she does not want them, I don't see the reason to worry about performances.