mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-03 01:10:17 +01:00
Fixed h2 epoch conversion sql
This commit is contained in:
parent
ecb7eeb62b
commit
256eb6cb91
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user