Ignore:
Timestamp:
2019-07-09T01:50:59+02:00 (5 years ago)
Author:
donvip
Message:

see #josm17903 - use correct time unit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/http2/src/org/openstreetmap/josm/plugins/http2/Http2Client.java

    r35058 r35059  
    5858        if (getIfModifiedSince() > 0) {
    5959            requestBuilder.header("If-Modified-Since", DateTimeFormatter.RFC_1123_DATE_TIME.format(
    60                     LocalDateTime.ofEpochSecond(getIfModifiedSince(), 0, ZoneOffset.UTC)));
     60                    LocalDateTime.ofEpochSecond(getIfModifiedSince() / 1000, 0, ZoneOffset.UTC)));
    6161        }
    6262        if (!isUseCache()) {
Note: See TracChangeset for help on using the changeset viewer.