Skip to content

Commit bdf1082

Browse files
authored
Update dateTime and timezone property names (#5248)
1 parent 93b7715 commit bdf1082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/main/java/io/apicurio/registry/rest/JacksonDateTimeCustomizer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ public class JacksonDateTimeCustomizer implements ObjectMapperCustomizer {
2121
private static final String DEFAULT_DATE_TIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'";
2222
private static final String DEFAULT_DATE_TIME_FORMAT_TZ = "UTC";
2323

24-
@ConfigProperty(name = "apicurio.apis.v2.date-format", defaultValue = DEFAULT_DATE_TIME_FORMAT)
24+
@ConfigProperty(name = "apicurio.apis.date-format", defaultValue = DEFAULT_DATE_TIME_FORMAT)
2525
@Info(category = "api", description = "API date format", availableSince = "2.4.3.Final")
2626
String dateFormat;
27-
@ConfigProperty(name = "apicurio.apis.v2.date-format-timezone", defaultValue = DEFAULT_DATE_TIME_FORMAT_TZ)
27+
@ConfigProperty(name = "apicurio.apis.date-format-timezone", defaultValue = DEFAULT_DATE_TIME_FORMAT_TZ)
2828
@Info(category = "api", description = "API date format (TZ)", availableSince = "2.4.3.Final")
2929
String timezone;
3030

0 commit comments

Comments
 (0)