determine_style
if (!determine_style(date, &di)) {
static bool determine_style(const char *date, struct dateinfo *di);