cldr-engine icon indicating copy to clipboard operation
cldr-engine copied to clipboard

Date/Number parsing

Open maertz opened this issue 3 years ago • 1 comments

Hi there, I was just wondering if there are any plans to add parsing to the feature stack. In some scenarios it would be nice to parse the date or number against the current user culture.

Regards Benjamin

maertz avatar Aug 24 '22 12:08 maertz

hi @maertz I don't currently have plans to add parsing of dates or numbers.

The globalize library contains parsers for dates and numbers which could be adapted or reimplemented by someone to use cldr-engine schema and data. I'm not sure how well those parsers work in practice, but they seem geared towards strict parsing where the date/number pattern is known in advance.

phensley avatar Aug 24 '22 12:08 phensley