Ignore:
Timestamp:
2020-06-14T17:17:02+02:00 (4 years ago)
Author:
simon04
Message:

see #19334 - https://errorprone.info/bugpattern/JavaTimeDefaultTimeZone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/query/TimeValidator.java

    r13849 r16629  
    55
    66import java.time.LocalTime;
     7import java.time.ZoneId;
    78import java.time.ZonedDateTime;
    89import java.time.format.DateTimeFormatter;
     
    6162     */
    6263    public String getStandardTooltipText() {
    63         final ZonedDateTime now = ZonedDateTime.now();
     64        final ZonedDateTime now = ZonedDateTime.now(ZoneId.systemDefault());
    6465        return tr(
    6566                "Please enter a valid time in the usual format for your locale.<br>"
Note: See TracChangeset for help on using the changeset viewer.