On Sun, 23 Mar 2008, Lester Caine wrote: > Derick Rethans wrote: > > On Fri, 21 Mar 2008, Pierre Joye wrote: > > > > > I rather prefer to have this class (and related) within the ext/date > > > extensions. It is the only way to have a consistent and working > > > date/time API in php. Date/time formatting is part of this API. > > > > I've mentioned that from the beginning (and started experimenting a > > bit with it already as date_format_locale()), but apparently that's > > not the "correct" way. > > I think the question here is WHY would you want to format a date > without using a date object? SO why is it wrong to have object > formatting packaged with the relevant object? I may be missing > something here, but if the idea is to standardise then surly we should > be standardising and not creating tools for unnecessary alternatives? > I'm still having to use my own Date alternative until we can finally > draw a line under PHP4 compatibility - so lets not start opening more > rabbit holes to compatibility :(
Yeah, exactly what I'm thinking. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php