Skip to content

Commit

Permalink
Allow JavaTimeConversionPattern on fields
Browse files Browse the repository at this point in the history
The registered converter already supported fields but the annotation did
 not.
  • Loading branch information
marcphilipp committed Mar 3, 2025
1 parent bd449c9 commit d5978d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @see org.junit.jupiter.params.ParameterizedTest
* @see java.time.format.DateTimeFormatterBuilder#appendPattern(String)
*/
@Target({ ElementType.ANNOTATION_TYPE, ElementType.PARAMETER })
@Target({ ElementType.ANNOTATION_TYPE, ElementType.PARAMETER, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@API(status = STABLE, since = "5.7")
Expand Down

0 comments on commit d5978d8

Please sign in to comment.