<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>On 2019-02-20 12:10, marc marc wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Le 20.02.19 à 11:40, Colin Smale a écrit :
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">so allergic to the idea of leveraging (how I hate that word...) existing <br /> standards</blockquote>
<br /> I wonder if it will soon be necessary to do an IQ test to contribute<br /> to osm.<br /> if a app says "encode the duration in ISO_8601 format", I wonder if 1% <br /> of contributors are able to encode it without first reading the doc.<br /> but if a app says "duration wihout any abreviation", filling "2 hours" <br /> seems possible to everyone without error.<br /> especially since the maximum duration for a parking is rarely 1 year 3 <br /> months 4 days 7 hours 17 min 24sec which eliminates a little bit the <br /> interest of an iso designed for the most extreme situations<br /><br /></div>
</blockquote>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">The ISO standard allows irrelevant parts to be omitted, while also allowing for the most complex cases (a balance which OSM often has trouble with). So we say that the value of maxstay is of type "duration" (aka "interval") with syntax defined by ISO8601. A value can be as simple as "PT2H" for 2 hours. The "P" prefix is pretty redundant if we don't need to disambiguate with timestamps , so "T2H" could be enough. What's the minimum IQ required to understand "T2H", "T30M" or "5D"?</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
</body></html>