Changeset 35058 in osm for applications
- Timestamp:
- 2019-07-09T01:47:21+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/http2/src/org/openstreetmap/josm/plugins/http2/Http2Client.java
r35053 r35058 15 15 import java.time.Duration; 16 16 import java.time.LocalDateTime; 17 import java.time.ZoneOffset; 17 18 import java.time.format.DateTimeFormatter; 18 19 import java.time.temporal.ChronoField; … … 57 58 if (getIfModifiedSince() > 0) { 58 59 requestBuilder.header("If-Modified-Since", DateTimeFormatter.RFC_1123_DATE_TIME.format( 59 LocalDateTime.ofEpochSecond(getIfModifiedSince(), 0, null)));60 LocalDateTime.ofEpochSecond(getIfModifiedSince(), 0, ZoneOffset.UTC))); 60 61 } 61 62 if (!isUseCache()) {
Note:
See TracChangeset
for help on using the changeset viewer.