Formatting numbers and dates according to locale

Hi.

Are there in Omeka readily available functions to format numbers and dates according to locale? For instance, numbers might use “.” instead of “,” for thousands, or “,” instead of “.” for decimal part, etc.

Thanks.

There’s some options through the Zend Framework Locale functionality. We mostly use this for dates, and not numbers.

In Omeka S, we rely on the PHP “intl” extension for this kind of thing, which provides a NumberFormatter class.

Thank you, John.
I think I’ve found it: Zend_Locale_Format::toNumber()

Cheers!