Skip to content

Commit bdc2ed5

Browse files
committed
Revert date/time example value changes (regeneration artifacts)
1 parent e07e395 commit bdc2ed5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

  • samples
    • client/petstore
    • openapi3/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model

samples/client/petstore/powershell/docs/FormatTest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $FormatTest = Initialize-PSPetstoreFormatTest -Integer null `
3434
-String null `
3535
-Byte null `
3636
-Binary null `
37-
-Date Sat Feb 01 16:00:00 PST 2020 `
37+
-Date Sun Feb 02 00:00:00 UTC 2020 `
3838
-DateTime 2007-12-03T10:15:30+01:00 `
3939
-Uuid 72f98069-206d-4f12-9f12-3d1e525a8e84 `
4040
-Password null `

samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class Pet {
3636
private BigDecimal price = new BigDecimal("32000000000");
3737

3838
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
39-
private OffsetDateTime lastFeed = OffsetDateTime.parse("1973-12-19T03:39:57-08:00[America/Los_Angeles]", java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME.withZone(java.time.ZoneId.systemDefault()));
39+
private OffsetDateTime lastFeed = OffsetDateTime.parse("1973-12-19T11:39:57Z[UTC]", java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME.withZone(java.time.ZoneId.systemDefault()));
4040

4141
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
4242
private LocalDate dateOfBirth = LocalDate.parse("2021-01-01");

samples/openapi3/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class Pet {
3535
private BigDecimal price = new BigDecimal("32000000000");
3636

3737
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
38-
private OffsetDateTime lastFeed = OffsetDateTime.parse("1973-12-19T03:39:57-08:00[America/Los_Angeles]", java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME.withZone(java.time.ZoneId.systemDefault()));
38+
private OffsetDateTime lastFeed = OffsetDateTime.parse("1973-12-19T11:39:57Z[UTC]", java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME.withZone(java.time.ZoneId.systemDefault()));
3939

4040
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
4141
private LocalDate dateOfBirth = LocalDate.parse("2021-01-01");

0 commit comments

Comments
 (0)