liquibase-core/src/main/java/liquibase/database/AbstractJdbcDatabase.java
@Override
    public String getDateLiteral(final String isoDate) {
        if (isDateOnly(isoDate) || isTimeOnly(isoDate)) {
            return "'" + isoDate + "'";
        } else if (isDateTime(isoDate)) {
            return "'" + isoDate.replace('T', ' ') + "'";
        } else {
            return "BAD_DATE_FORMAT:" + isoDate;
        }
    }
@Override
    public String getDateLiteral(final String isoDate) {
        if (isDateOnly(isoDate) || isTimeOnly(isoDate)) {
            return "'" + isoDate + "'";
        } else if (isDateTime(isoDate)) {
            return "'" + isoDate.replace('T', ' ') + "'";
        } else {
            return "BAD_DATE_FORMAT:" + isoDate;
        }
    }
Return a date literal with the same value as a string formatted using ISO 8601.
<p/>
Note: many databases accept date literals in ISO8601 format with the 'T' replaced with
a space. Only databases which do not accept these strings should need to override this
method.
<p/>
Implementation restriction:
Currently, only the following subsets of ISO8601 are supported:
yyyy-MM-dd
hh:mm:ss
yyyy-MM-ddThh:mm:ss