Skip to content

Commit a67d1a8

Browse files
committed
Fix datetrunc on 'weekday'
1 parent 706976f commit a67d1a8

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
@@ -1139,7 +1139,7 @@
11391139
</date-function>
11401140
<date-function name='DATETRUNC' return-type='datetime'>
11411141
<formula>DATE_TRUNC('%1', %2)</formula>
1142-
<formula part='weekday'>%2</formula>
1142+
<formula part='weekday'>DATE_TRUNC('day', %2)</formula>
11431143
<argument type='localstr'/>
11441144
<argument type='str'/>
11451145
</date-function>

0 commit comments

Comments
 (0)