Skip to content

Commit 7becd16

Browse files
committed
Fix format representation of DATE
1 parent a67d1a8 commit 7becd16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cratedb_jdbc/dialect.tdd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@
12571257
<part name='weekday' value='D'/>
12581258
</date-part-group>
12591259
</date-parts>
1260-
<format-date-literal formula="(DATE '%1')" format='yyyy-MM-dd'/>
1260+
<format-date-literal formula="('%1'::DATE)" format='yyyy-dd-MM'/>
12611261
<format-datetime-literal formula="(TIMESTAMP '%1')" format='yyyy-MM-dd HH:mm:ss.SSS'/>
12621262
<format-false literal='FALSE' predicate='FALSE'/> <!-- Requires 2020.3 or newer -->
12631263
<format-is-distinct value='Keyword'/>

0 commit comments

Comments
 (0)