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.
the
babel.dates.format_time
andformat_date
functions support a customformat
using LDML syntax. it would be nice if theparse_time
andparse_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.