toInputString = value => {
        const date = toDate(value);
        if (date == null) {
            return null;
        }