include react-native-locale for number and date formatting from device

Hi,

I’m the maintainer of GitHub - fixd/react-native-locale: Simple locale information and methods for react native

I’ve recently started using expo to speed up our development time and was surprised to find expo didn’t have the number and date formatting capabilities from the native device (unless I’m missing it in the docs).

In particular allowing the user to enter a string in their native locale and have the device convert this to a number

eg '1.234,56' in en_DK converted to 1234.56 using numberFromDecimalString

@ben @notbrent is there anything on the Expo roadmap to tackle the above issue? If not, is this something you think expo should handle?

Canny Feature Request: Localized date and number formatting | Voters | Expo

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.