Skip to content

Commit

Permalink
fix: support time zones for json time formats (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tenischev authored Oct 24, 2020
1 parent c657ccc commit 0df165e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion filters/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ function toJavaType(str){
return 'boolean';
case 'date':
return 'java.time.LocalDate';
case 'time':
return 'java.time.OffsetTime';
case 'dateTime':
case 'date-time':
return 'java.time.LocalDateTime';
return 'java.time.OffsetDateTime';
case 'string':
case 'password':
case 'byte':
Expand Down

0 comments on commit 0df165e

Please sign in to comment.