spring-boot/spring-boot-project
Phillip Webb 998d59b7ac Ignore system timezone when applying outputTimestamp to entries
Update `JarWriter` so that entry times are set with the default TimeZone
offset removed. The Javadoc for `ZipEntry.setTime` states:

  The file entry is "encoded in standard `MS-DOS date and time format`.
  The default TimeZone is used to convert the epoch time to the MS-DOS
  data and time.

Removing the offset from our UTC time before calling `entry.setTime()`
ensures that we get consistent bytes in the zip file when the output
stream reapplies the offset during write.

Fixes gh-34424
2023-03-01 21:27:08 -08:00
..
spring-boot Update logger to use GracefulShutdown.class 2023-03-01 12:50:31 +01:00
spring-boot-actuator Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-actuator-autoconfigure Polish "Add missing Micrometer PropertiesConfigAdapterTests" 2023-03-01 12:45:55 +01:00
spring-boot-autoconfigure Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-cli Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-dependencies Upgrade to Spring Batch 4.3.8 2023-02-22 20:59:34 +00:00
spring-boot-devtools Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-docs Fix typo in external-config.adoc 2023-03-01 12:40:21 +01:00
spring-boot-parent Add more possibilities to prohibit version upgrades 2023-01-12 16:08:06 +01:00
spring-boot-properties-migrator Reformat code following spring-javaformat upgrade 2023-02-21 22:53:27 -08:00
spring-boot-starters Polish "Add reference to Failover starter" 2023-03-01 13:18:45 +01:00
spring-boot-test Update copyright year of changed files 2023-02-22 18:35:17 -08:00
spring-boot-test-autoconfigure Enable and fix GraphQlTestIntegrationTests 2023-02-22 13:34:40 -08:00
spring-boot-tools Ignore system timezone when applying outputTimestamp to entries 2023-03-01 21:27:08 -08:00