Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
usfalami committed Sep 11, 2024
1 parent 70636d5 commit 1c48648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/usf/jquery/core/Operator.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ static TypedOperator monthDay() {//MM-DD

static TypedOperator hourMinute() {//HH:MM
CombinedOperator op = args-> {
var col = requireNArgs(1, args, ()-> "houtMinute")[0];
var col = requireNArgs(1, args, ()-> "hourMinute")[0];
var time = JDBCType.typeOf(col).filter(t-> t == TIME).isPresent() ? col : time().operation(col);
return left().operation(varchar().operation(time), 5);
};
Expand Down

0 comments on commit 1c48648

Please sign in to comment.