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)

---
 index.html |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/index.html b/index.html
index 7476401..eb69a99 100644
--- a/index.html
+++ b/index.html
@@ -56,7 +56,7 @@
 			
 			<div class="row">
 				<div class="col-md-6">
-					<h2 id="times-stop-name"></h2>
+					<h2 id="times-stop"><small id="times-stop-type"></small><br /><span id="times-stop-name"></span></h2>
 					
 					<div id="times-alerts"></div>
 					
@@ -129,13 +129,13 @@
 					
 					<p class="small" data-translate="help_text">Względne czasy (np. 3 min) są podawane na podstawie faktycznej lokalizacji pojazdów. Czasy bezwzględne (np. 8:01) to odjazdy rozkładowe, pokazywane gdy pojazd nie może być zlokalizowany. "?" oznacza nieznane opóźnienie.</p>
 					
-					<p class="small">&copy; 2016-2017 Jacek Kowalski - <a href="https://github.com/jacekkow/mpk-ttss" data-translate="help_source">Źródło</a> - <a href="https://raw.githubusercontent.com/jacekkow/mpk-ttss/master/LICENSE" data-translate="help_license">Licencja</a></p>
+					<p class="small">&copy; 2016-2019 Jacek Kowalski - <a href="https://github.com/jacekkow/mpk-ttss" data-translate="help_source">Źródło</a> - <a href="https://raw.githubusercontent.com/jacekkow/mpk-ttss/master/LICENSE" data-translate="help_license">Licencja</a></p>
 				</div>
 			</div>
 		</div>
-		<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT" crossorigin="anonymous"></script>
-		<script type="text/javascript" src="lang_pl.js?v4" id="lang_script"></script>
-		<script type="text/javascript" src="common.js?v4"></script>
-		<script type="text/javascript" src="index.js?v2"></script>
+		<script src="https://polyfill.io/v3/polyfill.min.js?features=Promise,XMLHttpRequest"></script>
+		<script type="text/javascript" src="lang_pl.js?v9" id="lang_script"></script>
+		<script type="text/javascript" src="common.js?v10"></script>
+		<script type="text/javascript" src="index.js?v8"></script>
 	</body>
 </html>

--
Gitblit v1.9.1