From 38340e01ff8bec3c1a89b9bd294c49f78a73e411 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Sat, 22 Jun 2019 22:07:29 +0000
Subject: [PATCH] Fix delay calcs when times are from two different days (i.e. 23:59-00:00)

---
 map.html |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/map.html b/map.html
index 5992df6..979e4a8 100644
--- a/map.html
+++ b/map.html
@@ -5,7 +5,7 @@
 <meta charset="utf-8" />
 <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
 <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/css/ol.css" integrity="sha384-C7SzZySesoxngSK5V0BaD1DUap0LPZGWZpnXQGoIwvBXFc8G21y4s1QYvyr84FNa" crossorigin="anonymous">
-<link rel="stylesheet" href="map.css?v3" type="text/css" />
+<link rel="stylesheet" href="map.css?v4" type="text/css" />
 </head>
 <body>
 <div id="map">
@@ -21,11 +21,10 @@
 <div id="fail" class="ol-unselectable ol-control"><span></span> <span class="close">×</p></div>
 </div>
 <div id="panel"></div>
-<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT" crossorigin="anonymous"></script>
-<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
+<script src="https://polyfill.io/v3/polyfill.min.js?features=Array.prototype.forEach,Array.prototype.includes,Array.prototype.map,Element.prototype.classList,Promise,String.prototype.startsWith,XMLHttpRequest,requestAnimationFrame"></script>
 <script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/build/ol.js" integrity="sha384-iQkGyyH4ioz3m+maM3s9MX1Oq67mACa4B9Z3ovUv3Sv37LJ96fx3WnZfLoiC3Wfl" crossorigin="anonymous"></script>
-<script tyle="text/javascript" src="lang_pl.js?v6" id="lang_script"></script>
-<script tyle="text/javascript" src="common.js?v6"></script>
-<script tyle="text/javascript" src="map.js?v14"></script>
+<script tyle="text/javascript" src="lang_pl.js?v9" id="lang_script"></script>
+<script tyle="text/javascript" src="common.js?v10"></script>
+<script tyle="text/javascript" src="map.js?v22"></script>
 </body>
 </html>

--
Gitblit v1.9.1