[development] code proposal: localization of currency, ...
Larry Garfield
larry at garfieldtech.com
Sun Oct 21 20:53:20 UTC 2007
On Sunday 21 October 2007, Ivan Sergio Borgonovo wrote:
> On Sun, 21 Oct 2007 15:06:40 -0500
>
> Larry Garfield <larry at 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/
Oops. :-)
> > 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-datetime
> >zone/
> >
> > 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
Well since I only started talking about it 2 days ago, not that I know of. :-)
Really, I was just throwing out an alternative approach to take that would
offer more long-term flexibility for currency handling.
--
Larry Garfield AIM: LOLG42
larry at garfieldtech.com ICQ: 6817012
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an idea,
which an individual may exclusively possess as long as he keeps it to
himself; but the moment it is divulged, it forces itself into the possession
of every one, and the receiver cannot dispossess himself of it." -- Thomas
Jefferson
More information about the development
mailing list