From d940136d64a0c932f8a0c84ebc8cb8849df626d2 Mon Sep 17 00:00:00 2001 From: zlax Date: Sat, 16 Jul 2022 17:11:32 +0300 Subject: [PATCH] minor markup --- index.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 7ae3052..871bb27 100644 --- a/index.html +++ b/index.html @@ -188,7 +188,8 @@ function formatedDate(datein, timeoutput, UTC) { if (timeoutput == 'erisian') var dateout = dtime(datein, 'timeofyold'); else { var timein = new Date ( datein.getTime() + ( UTC * 60 * 60 * 1000 )); - var dateout = ("0" + ( timein.getUTCDate())).slice(-2) + "." + ("0" + ( timein.getUTCMonth() + 1)).slice(-2) + " " + ("0" + timein.getUTCHours()).slice(-2) + ":" + ("0" + timein.getUTCMinutes()).slice(-2) + ":" + ("0" + timein.getUTCSeconds()).slice(-2); + var dateout = ("0" + ( timein.getUTCDate())).slice(-2) + "." + ("0" + ( timein.getUTCMonth() + 1)).slice(-2) + " "; + dateout += ("0" + timein.getUTCHours()).slice(-2) + ":" + ("0" + timein.getUTCMinutes()).slice(-2) + ":" + ("0" + timein.getUTCSeconds()).slice(-2); } return dateout; } @@ -214,7 +215,8 @@ function tableRow(cy, timeoutput, UTC, oneyearinp = false) { } else { cury = cy; miny = 1583; maxy = 2999; } - stringout += ''; + stringout += ''; } else { if (timeoutput == 'erisian') stringout += cy + 1166; else stringout += cy; @@ -244,7 +246,8 @@ function makeTable(UTC, timeoutput) { } utcoff = UTC; timeout = timeoutput; var fulltable = "
"; - fulltable += 'Accurate (according to IMCCE) astronomical Wheel of the Year - '; + fulltable += 'Accurate (according to IMCCE) astronomical '; + fulltable += 'Wheel of the Year - '; if (timeoutput == 'erisian') { fulltable += 'Erisian time
'; window.location.hash = "";