[i18n] Fwd: AW: AW: AW: [hermes]hermes decimal hours
Jan Schneider
jan at horde.org
Fri Apr 18 19:10:23 PDT 2003
Zitat von Chuck Hagenbuch <chuck at horde.org>:
> ----- Forwarded message from news4dadirtyluk at gmx.de -----
> Date: Mon, 24 Mar 2003 14:40:37 +0100
> From: Udo Schubert <news4dadirtyluk at gmx.de>
> Reply-To: Udo Schubert <news4dadirtyluk at gmx.de>
> Subject: AW: AW: AW: [hermes]hermes decimal hours
> To: hermes at lists.horde.org
>
> hi there!
>
> i discovered a very strange thing,while i was debugging hermes to find
> out why this thing keeps on stressing me:
>
> i copied the code from both NLS::decimalFrom/ToLocale to a test.php fuke
> and
> with some output i saw that everything is alright. numbers with the dot
> became numbers with
> a colon and vice versa
> but after i put some Horde::logmessages into decimalFrom/ToLocale i saw
> that it wasn't working at all in NLS.php!
>
> all i could get out was '4,00' or '4.00' despite the method was called
> with
> '4.11' (ToLocale) or '4,11' (FromLocale)
>
> now what could be the reason for that? i really have no idea and i really
> used the
> same code in my test.php file :(
>
> best regards
>
> udo
>
> ps: horde cvs, update 24.03. 12.00
Just to let the list know that this is not a Hermes but a PHP problem:
http://marc.theaimsgroup.com/?l=php-dev&m=104851817200756&w=2
I'll try to get the PHP folks to unbreak number format detection but
obviously the isn't much enthusiasm for such issues.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the i18n
mailing list