Changeset 15744 in josm
- Timestamp:
- 2020-01-21T21:05:33+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java
r15739 r15744 97 97 private static ImageryInfo convertImagery(ImageryInfo info) { 98 98 try { 99 if (info.getUrl() .contains("{time}")) {99 if (info.getUrl() != null && info.getUrl().contains("{time}")) { 100 100 final String instant = Year.now().atDay(1).atStartOfDay(ZoneOffset.UTC).toInstant().toString(); 101 101 final String example = String.join("/", instant, instant);
Note:
See TracChangeset
for help on using the changeset viewer.