The ctdbStringToDate function, and other StringTo* time-related functions, failed to identify certain strings as valid. The dash ("-") was not properly handled as a part separator in dates and returned CTDBRET_INVDATE (4029). For example, the string "01‑01‑2017" was not considered a valid date. The logic has been modified to correct this behavior so that dashes can be used as separators in dates.