Commit de481b7b authored by François Cartegnie's avatar François Cartegnie 🤞

strings: use US locale to parse ISO_8601 time format

Or fails on PT123.123S
parent 09df186b
......@@ -925,7 +925,7 @@ time_t str_duration( const char *psz_duration )
return -1;
do
{
double number = strtod( psz_duration, &end_ptr );
double number = us_strtod( psz_duration, &end_ptr );
double mul = 0;
if ( psz_duration != end_ptr )
psz_duration = end_ptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment