Skip to content

Commit

Permalink
Added comment to TimestampType
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <[email protected]>
  • Loading branch information
Guian Gumpac committed Nov 23, 2021
1 parent 8d8fa1a commit 385a41b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ else if (value.charAt(23) == '+' || value.charAt(23) == '-') {
}

final Timestamp ts;
// 11 to check if the value is in yyyy-MM-dd format
if (value.length() < 11) {
ts = Timestamp.valueOf(LocalDate.parse(value).atStartOfDay());
} else {
Expand Down

0 comments on commit 385a41b

Please sign in to comment.