check_month
if (check_month(p1, &len, &di->month) ||
(check_month(p2, &len, &di->month) && (p2 = p1))) {
static bool check_month(const char *s, size_t *len, int *month);