Ignore:
Timestamp:
2021-07-10T23:26:59+02:00 (3 years ago)
Author:
Don-vip
Message:

fix #21021 - proper fix of "newer" keyword, handling both formats (date and duration)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/SearchCompilerQueryWizard.java

    r17982 r17988  
    104104            final String value = ((SearchCompiler.KeyValue) match).getValue();
    105105            if ("newer".equals(key)) {
    106                 return "(newer:" + quote(value) + ")";
     106                return "(newer:" + quote("{{date:" + value + "}}") + ")";
    107107            }
    108108            return "[~" + quote(key) + "~" + quote(value) + "]";
Note: See TracChangeset for help on using the changeset viewer.