On Sun, 21 Oct 2007 15:06:40 -0500 Larry Garfield <larry@garfieldtech.com> wrote:
No matter what I'll end to do... but maybe there is some chance it could be recycled if I've an idea of what are the plans.
We don't use DateTime in Drupal 6 at all, as it's PHP 5.2 only, and
bwaaaa I think today my assembly session blew up my mind. s/PHP/Drupal/
Drupal 7 hasn't opened up yet. KarenS would probably be the go-to person on what the date handling plans are for D7.
for DateTime in general, I recommend this page:
http://laughingmeme.org/2007/02/27/looking-at-php5s-datetime-and-datetimezon...
It's a good description of the theory behind how date handling works in PHP 5.2, as well as the pros and cons of the DateTime class signature itself. (Short version: It really needs to be a Value Object, but it isn't, but a Value Object wrapper around it shouldn't be hard.)
Woops and what about the currency/float format party? Is there any plan for that? thx -- Ivan Sergio Borgonovo http://www.webthatworks.it