babel icon indicating copy to clipboard operation
babel copied to clipboard

parse functions should support a custom format

Open DetachHead opened this issue 1 year ago • 0 comments

the babel.dates.format_time and format_date functions support a custom format using LDML syntax. it would be nice if the parse_time and parse_date functions supported it too.

my use case is that i need to parse a time from a string. i don't know what format it will be at runtime, but the LDML format value will be available.

DetachHead avatar Jun 21 '24 00:06 DetachHead