Skip to content
Snippets Groups Projects
Commit 59e21369 authored by rswindell's avatar rswindell
Browse files

Fix another sscanf format bug in isoDateTime_parse.

parent a2eea84a
No related branches found
No related tags found
No related merge requests found
......@@ -255,7 +255,7 @@ isoDateTime_t isoDateTime_parse(const char* str)
ZERO_VAR(xpDateTime);
ZERO_VAR(isoDateTime);
if((sscanf(str,"%4u%-%2u-%2uT%2u:%2u:%f%6s" /* CCYY-MM-DDThh:MM:sshhmm */
if((sscanf(str,"%4u-%2u-%2uT%2u:%2u:%f%6s" /* CCYY-MM-DDThh:MM:sshhmm */
,&xpDateTime.date.year
,&xpDateTime.date.month
,&xpDateTime.date.day
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment