Skip to content

Commit

Permalink
CbUtils: Correctly identify May
Browse files Browse the repository at this point in the history
Turns out both May and March start with "Ma".
  • Loading branch information
baedert committed May 1, 2017
1 parent 85cd7e1 commit 55dbcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CbUtils.c
Expand Up @@ -273,7 +273,7 @@ cb_utils_parse_date (const char *_in)
month = 2;
break;
case 'M':
if (month_str[1] == 'a')
if (month_str[1] == 'a' && month_str[2] == 'r')
month = 3;
else
month = 5;
Expand Down

0 comments on commit 55dbcd8

Please sign in to comment.