Support MySQL date with zero month or day