mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-07 04:18:26 +02:00
Fixed h2 epoch conversion sql
This commit is contained in:
parent
ecb7eeb62b
commit
256eb6cb91
@ -84,7 +84,7 @@ public interface Sql {
|
||||
|
||||
@Override
|
||||
public String epochSecondFromDate(String sql) {
|
||||
return "DATEDIFF('SECOND', " + sql + ", DATE '1970-01-01')";
|
||||
return "DATEDIFF('SECOND', DATE '1970-01-01', " + sql + ')';
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user