﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
15228	Support missing Overpass Turbo extended shortcuts	GerdP	team	"==== What steps will reproduce the problem?
1. Press Crtl+Shift+Down for download dialog
2. Click tab ""Download from Overpass API""
3. Click button ""Query Wizzard""
4. Enter `type:way and highway=""driveway"" and newer:3days global`
5. Click button ""Build query and execute""

==== What is the expected result?
Either some data or a ""nothing downloaded"" message
==== What happens instead?
Popup with error message 
The OSM server 'overpass-api.de' reported a bad request.
line 3: static error: The attribute ""than"" must contain a timestamp exactly in the form yyyy-mm-ddThh:mm:ssZ.

==== Please provide any additional information below. Attach a screenshot if possible.
When I use the same text in the wizzard at http://overpass-turbo.eu/
I get the expected result. Maybe the generated clause (newer:""{{date:3days}}"")
needs special treatment on Windows systems?
{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-09-02 14:47:18 +0200 (Sat, 02 Sep 2017)
Build-Date:2017-09-02 20:53:16
Revision:12712
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12712 en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1703 (15063)
Memory Usage: 1747 MB / 5461 MB (1202 MB allocated, but free)
Java version: 1.8.0_121-b13, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080

Plugins:
+ OpeningHoursEditor (33185)
+ apache-commons (33517)
+ buildings_tools (33004)
+ ejml (32680)
+ geotools (33380)
+ jts (32699)
+ o5m (33566)
+ opendata (33553)
+ pbf (33568)
+ poly (33570)
+ reverter (33572)
+ utilsplugin2 (33579)

Last errors/warnings:
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- W: java.io.IOException: Attribution is not loaded yet
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 3: static error: The attribute ""than"" must contain a timestamp exactly in the form yyyy-mm-ddThh:mm:ssZ.>, Error Body=<<?xml version=""1.0"" encoding=""UTF-8""?>
- E: Bad Request - <html>The OSM server 'overpass-api.de' reported a bad request.<br><br>Error message(untranslated): line 3: static error: The attribute ""than"" must contain a timestamp exactly in the form yyyy-mm-ddThh:mm:ssZ. </html>
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 4: parse error: Unknown type "")"">, Error Body=<<?xml version=""1.0"" encoding=""UTF-8""?>
- E: Bad Request - <html>The OSM server 'overpass-api.de' reported a bad request.<br><br>Error message(untranslated): line 4: parse error: Unknown type "")"" </html>
- W: Deleted or moved objects - <html>There are 111 objects in your local dataset which might be deleted on the server.<br>If you later try to delete or update them the server is likely to report a conflict.<br>Click <strong>Check on the server</strong> to check the state of these objects on the server.<br>Click <strong>Ignore</strong> to ignore.</html>
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error Header=<line 3: static error: The attribute ""than"" must contain a timestamp exactly in the form yyyy-mm-ddThh:mm:ssZ.>, Error Body=<<?xml version=""1.0"" encoding=""UTF-8""?>
- E: Bad Request - <html>The OSM server 'overpass-api.de' reported a bad request.<br><br>Error message(untranslated): line 3: static error: The attribute ""than"" must contain a timestamp exactly in the form yyyy-mm-ddThh:mm:ssZ. </html>
}}}
"	enhancement	closed	normal	17.09	Core		fixed	template_report overpass api turbo	
