From: <no...@so...> - 2001-06-07 12:19:42
|
Patches item #431012, was updated on 2001-06-07 05:19 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304421&aid=431012&group_id=4421 Category: MAIN branch Group: None Status: Open Resolution: None Priority: 5 Submitted By: Alessio Bragadini (alessio) Assigned to: Nobody/Anonymous (nobody) Summary: Patch to have date in language of choice Initial Comment: This patch allows to have dates returned in a language other than English. It does so by calling Date::Manip::DateInit inside Slash::Utility::timeCalc. The language is set using a new entry in the vars table, called datelang. The value most be in a format recognized by Date::Manip e.g. Italian, English, German, etc. Only the languages supported by Date::Manip can ofcourse be used. It may run into trouble if the database engine doesn't return date in English format, something that is not very common and I believe not supported at all on MySql. In this case, you would just have to set a different default language. You could, ofcourse, put extra code to handle this situation. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=304421&aid=431012&group_id=4421 |