AW: [hermes]hermes decimal hours

Udo Schubert news4dadirtyluk at gmx.de
Wed Mar 19 17:08:31 PST 2003


hi there!

>Look at NLS::decimalToLocale() and NLS::decimalFromLocale() in
>horde/lib/NLS.php.

until now i was unable to find the problem and after reviewing the
code responsible for converting between db representation and the
appropriate
locale representation i think i must say everything should be alright!

but it isn't :(

i just wanted to ask if anybody knows how localeconv determines,which locale
is currently used? somehow i think the getLocaleInfo returns the wrong
locale! (the one the system uses,the webserver runs on?)

bit despite all this the printed sql statement contains '3,7' as
timeslice_hours
how can that happen?

i miss the connection to the stored preferences,because the selected
language
should define the locale returned by getLocaleInfo...

any ideas?

best regards

	udo



More information about the hermes mailing list