fix calendar filter?

This commit is contained in:
Colin 2025-07-31 16:03:23 -04:00
parent 671f4bf88b
commit 7a8aa23910
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ func (d *PostgreSQLDialect) GetBooleanCheck(path string) string {
}
func (d *PostgreSQLDialect) GetTimestampComparison(field string) string {
return fmt.Sprintf("EXTRACT(EPOCH FROM %s.%s)", d.GetTablePrefix(), field)
return fmt.Sprintf("EXTRACT(EPOCH FROM TO_TIMESTAMP(%s.%s))", d.GetTablePrefix(), field)
}
func (*PostgreSQLDialect) GetCurrentTimestamp() string {