[#6825] Error when passing java.util.Date to DSL.year(), month(), day(), hour(), minute(), second()
This commit is contained in:
parent
236c65b26d
commit
bd219692a3
@ -13597,7 +13597,7 @@ public class DSL {
|
||||
*/
|
||||
@Support
|
||||
public static Field<Integer> extract(java.util.Date value, DatePart datePart) {
|
||||
return extract(Tools.field(value), datePart);
|
||||
return extract(Tools.field(Convert.convert(value, Timestamp.class)), datePart);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user