Fixed h2 epoch conversion sql

This commit is contained in:
Rsl1122 2019-08-13 09:38:17 +03:00
parent ecb7eeb62b
commit 256eb6cb91

View File

@ -84,7 +84,7 @@ public interface Sql {
@Override @Override
public String epochSecondFromDate(String sql) { public String epochSecondFromDate(String sql) {
return "DATEDIFF('SECOND', " + sql + ", DATE '1970-01-01')"; return "DATEDIFF('SECOND', DATE '1970-01-01', " + sql + ')';
} }
@Override @Override