TW-1719: Description cannot contain improper ordinals
- Thanks to Ben Boeckel.
This commit is contained in:
@@ -440,11 +440,7 @@ bool namedDates (const std::string& name, Variant& value)
|
||||
value = Variant (mktime (t), Variant::type_date);
|
||||
}
|
||||
}
|
||||
else
|
||||
throw std::string (STRING_DATES_ORD_MISMATCH);
|
||||
}
|
||||
else
|
||||
throw std::string (STRING_DATES_MONTH_31);
|
||||
}
|
||||
|
||||
else if (closeEnough ("easter", name, minimum) ||
|
||||
|
||||
Reference in New Issue
Block a user