solarwheeloftheyear/index.html

266 lines
26 KiB
HTML
Raw Normal View History

2017-05-03 10:19:00 +00:00
<!DOCTYPE html>
2019-08-04 22:49:09 +00:00
<!-- https://gitlab.com/zlax/solarwheeloftheyear -->
2017-05-03 10:19:00 +00:00
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<head>
2022-05-04 20:31:15 +00:00
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2017-05-03 10:19:00 +00:00
<!--
;
;=
.=; .X
... ;;.
; .; ;.=
== =. = . ;
. X=. ;. = = ;.
+ .;;; .. .; .. .
+. ;..; . = =
X; .; .= = .; = =. .
=;; ;. .+. = = ; . .=
; ; = =. = X = ; ;;
.;.; ;. ;. = .. ; = ;;
= = ; =. = ; ;. = = ;
+ .= = =. = ;; ; . .. ;
; .; = =. = = .; . = .;
; = = .= = ; ; .; .. ;=
;. = ;. ; . .= ; .; = ;.
= .= .= .; .. ; = .+ ; ;
= .; ; ;; .. ;. .; .X ;.
; ;. =. = ;. .; ;. .X ;; ;
. =. .; .. .= =. + = = .; +
+. .. .; ; . ; + ;. ; .= =
.+. = .; = ; ; ; = + ;. .
;; + .; X .; ; = = .X ;. =
;... .. .+ ; = ; X . .+ =. X
; .. = + . .. ; ; + .; ;. ;
.; .; ; .; ; X ; ; ; .; ; ..
.. ... ;. .; + .;; . . . ; =. .;;
; ;; ; ;; ; ==. ;=; = = ; ;;.;=.
;. ;; = = ;. =;. ;= X ;. .; .+. =.
; .=. ;. ;.; .=. ;= ;.. . ..; =
.. =+ = .;; +. ;= ..= = ... =
; .=; ; .+. ;. ;= += .. .=. =.
;. =; ; X. + ;= =; = .;. .;
; .= ; ;+ + ;. ;+ ;. =. =
= .. + ; = ; ;. ;= ; = =
;; ; =.; = .; = .; .. =
.; ; ;.; ; .X = + =; .;
; =. .. ;=. .= + ; .. .+
; ;. = =X =. ; .=; +
. .= ;. ;; . X; ;.
.; ;;. ; =. ;+ =
; ; ; ; =. .+ = ==;;;
= ;.=. .; = ;;;;; + =. ;;+=; ;;;..=.
.. == . .. = .;+M##########M;;. + .. .;;X=. .=;
;. ;=.; ; .= ;X###M++++==++++M##M+;.==. ;. .= ..=.. ;=
= ..=. ; . =M##X=;...........;==+M#M##= = .= . .;.
; .;. ; =##M+.................;M#####+ .= .;= ;=
; .;.. ;M##+.................=X########+ .=; ; .=.
; .+= =M#M;.................X###########M. .X.. .;
; =+ X#M=.................+#############M#= =X. =;
; .+. X#M;................=M##############=M#; =; .;.
= == M#M................;X################X;MM; .+. .=
=. . X#M................+###M#=############X..M#; .= .=
.= +#M................X###MM#+#############..;M#. .=
=; ;##;...............+####=#M=#############...;#M ;;
.= M#=................X###.;#==#############;...;#+ ;.
=; +#X.................###X X#=X#############.....X#. =.
.== .MM=................X###M.## X############M.....;#+ .;
.;. M#X..........;=;.;X######X#X X############X......X#. ;.
.. ;;;;=+X;;====.. .##........;XM###M##########X X############+......;#X ;= ...=;;;;.....
;..=;; .=+. X#X......;X##################.X############........M#. ;;=; ;==;.. ..;.+=;.;;
;= ;. .##;.....XM###################XM###########=........;#= .++.; ;;.;=+=;.
.+;. =#M....=M############;+#M#################X..........MX .;X.. ... .;+X=
..=. X#+..;M##############X;#XX###############X=..........=#. .= ;;;
;=. .M#.;M################M.X#==#############X;X..........;#= .+..
= .##X###################;;#X.;XM########M=.=+...........MX .;;
.=. .#####M#M##############=.X#+...=X##XXX=...==...........X#. .;.
;.;. .=X;. M####+MM+##############X.;#MX+...;X;......=+...........X#; .=.
==.. X####M;#=X##############X..;++XX...X;......;+.......+...X#; ..X
.=.;; =#####=;#.M##############+......=.;+=........X=.....+=...X#; ;.;
.; .;;;;;;;;;;;+=; .M####.+M ###############=........X=.......;M#M+=;=X=....X#; ==.
..==. M###+X= ##############M........=M......;+M+#;;+==......X#; ..;=+
..;. +#####= ##############X.......;X+....;+#M=+#;..........X#; ;;.;==;;. ;==.
;.; +#####X ##############;..XX+=+M+...;X##M=;+M...........X#; ...=;
.=. =######;#############MM+X;;XMX...=M###+=;;MM...........X#; .=..
;.; .#XX###M############+.+=........=###M+;;;=#+...........XM ;;.
.;. .##.=##############+.........=XX###M=;;;;+#+...........MX ..;.
;. M#;.=M##########M=........;X#####X=;;;;;M#=..........=#= .;
;; =#+...+X######M+.........;M####M+;;;;;;+##...........+#. ..;
=. ;#M.....;=======........+M###X+;;;;;;;=M#M...........MM ..==
;= .;+ M#=.........=;=X=....;M##M==;;;;;;;;=MM#X..........;#= .=+. ... ....
.=. ;== =#X.............+X.;+#MX=;;;;;;;;;;+#= M+..........M#. ..=+==;=++;
.+ =X= M#;.............XXX+=;;;;;;;;;;;=X#= =#..........;#X == .;.
;; .. ;;;= =#X.............=#M+=;;;;;;;;;=+MX. =#;..........X#. ;X;. ..=
=. .;===;.==;; .;;. .= M#;............;X+M#XX+=;;=+X#X= +M=..........;#X =;== ;=.;
=. ;X=..;;;;;;;;;;. ;; ;#M............;=..=M##MMMM#+. ;MM;...........MM. .==.;+; .=+; ;
+=.;. ;. X#=...........+;...;=M####; .+MX;...........=#+ .=. .;;. ..;; ;;;
. ;; .MM;.........;M.......;=XMM+MMX;........=...;MX .=
=. ;MM;......;+M;...........;==...........=..;M# =;
;. ;#M;....++=..........................;;..X#; .=
.= =#M.................................X.;M#= ; ;.
.; .= =MM;..............................===##= ;= ;.
;; =; ;#M=.............................X+##; =. ..
.. = ;M#X;................+;.......;M##M; ;; ..
;; ;; +##X;...............++=...=X##M= =. ..
;. .+. ;X##X=..............;=+MM###+. =; .;
= ;+. .XM#MX;;;.........;;XM#MX. ;.=. .;
; ..;+ +X####M+====+MM###X= ; ;;; ;.
;. ... ; +. .;;XX######MX;;. . ; ..=. ;
;. ;. ; =. ...... = ;; == =
.= ..=. ; .+ .= ;. =;; ..
.. ;; ; ; X. .; ; ..; ;.
+. . ;=+ ; ++ ;; . + ;
;. .;;;; ; ..= . . += . =. ..
;;=;=. ;; ;. . ;. .; ; .;; ; .; ;
. ; ; ; X + ; ;;= = .; ..
= .; ; .= .= ; ; = =. .. .= ;
;. ;; ; == .; + ;. . .. ; ==.
= .; = ..; =; X + ; .= . ;=
; . . ; ; =; = =; ; =. = =
.. .;. ; ..; .; =; .; . .= ;
; .; ; . + ;.; . ;. ; =. .
.. . ; = + . . .; .; ; ... ;
; .; ; ; ; . . . . . .. ;; ..
.. = .. . ; . . ; ;; = ; ;. =
;.= = ;. ; = . ; . .; . ;; =
.+. ; ;. .. + ; . ;. . ;; .
. = ;. ; ; ; . = ; = ;.=
; ;. .. . ; ;. ;. ; ; .=.
; .. ; + ; .. . .; .+
; ; .; ; ; ; . . +
= = ; .; ; ;. ; . ;
. ; = . ; ; . .
.; =. ; = . = ; ; ;. .
= .. ; ; ; = ; ; ; =
; .; + + =. . ; + ; ;
.. ;; ; . . .. ; X
.==. . . ; ; = ;
.+. . = ; = ; . +
= . + .; .. ; ; .
; . = . ; ; ;
; ; ; = ;..
. ; .. .. ;.=
. ; . =.. =.
. ;; .;
;.; = .; +
.; ..
+X = ;=
+ . .;
. .
=;
.
-->
<link rel="icon" href="favicon.ico" type="image/x-icon"><link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="anthrstlsht.css">
2022-05-04 17:01:58 +00:00
<script type="text/javascript" src="dtime.js"></script>
2022-07-08 19:19:06 +00:00
<script type="text/javascript" src="vernal_equinox.js"></script>
<script type="text/javascript" src="autumnal_equinox.js"></script>
<script type="text/javascript" src="southern_solstice.js"></script>
<script type="text/javascript" src="northern_solstice.js"></script>
2017-05-03 10:19:00 +00:00
<title>solar wheel of the year</title>
</head>
<body>
2022-05-04 20:31:15 +00:00
<br><p align="center"><input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(0, 'erisian');" value="Erisian time"/></p>
2022-05-04 17:01:58 +00:00
<p align="center">Christian time:<br><input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-11, 'UTC-11');" value="UTC-11"/>
2017-05-03 10:26:09 +00:00
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-10, 'UTC-10');" value="UTC-10"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-9, 'UTC-9');" value="UTC-9"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-8, 'UTC-8');" value="UTC-8"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-7, 'UTC-7');" value="UTC-7"/><br>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-6, 'UTC-6');" value="UTC-6"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-5, 'UTC-5');" value="UTC-5"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-4, 'UTC-4');" value="UTC-4"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-3.5, 'UTC-3:30');" value="UTC-3:30"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-3, 'UTC-3');" value="UTC-3"/><br>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(0, 'UTC-0');" value="UTC-0"/>
2017-05-03 10:19:00 +00:00
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(1, 'UTC+1');" value="UTC+1"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(2, 'UTC+2');" value="UTC+2"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(3, 'UTC+3');" value="UTC+3"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(3.5, 'UTC+3:30');" value="UTC+3:30"/><br>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(5, 'UTC+5');" value="UTC+5"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(5.5, 'UTC+5:30');" value="UTC+5:30"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(6, 'UTC+6');" value="UTC+6"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(6.5, 'UTC+6:30');" value="UTC+6:30"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(7, 'UTC+7');" value="UTC+7"/><br>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(8, 'UTC+8');" value="UTC+8"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(9, 'UTC+9');" value="UTC+9"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(9.5, 'UTC+9:30');" value="UTC+9:30"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(10, 'UTC+10');" value="UTC+10"/>
<input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(11, 'UTC+11');" value="UTC+11"/></p>
<div align = "center" id="soltable"></div>
<script type="text/javascript">
2022-05-04 20:31:15 +00:00
function formatedDate(datein, timeoutput, UTC) {
2022-05-04 17:01:58 +00:00
if (timeoutput == 'erisian') var dateout = dtime(datein, 'timeofyold');
2022-05-04 20:31:15 +00:00
else {
var timein = new Date ( datein.getTime() + ( UTC * 60 * 60 * 1000 ));
2022-05-04 20:54:18 +00:00
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);
2022-05-04 20:31:15 +00:00
}
2017-05-03 10:19:00 +00:00
return dateout;
}
2022-05-04 20:31:15 +00:00
function tableRow(cy, timeoutput, UTC) {
2017-05-03 10:19:00 +00:00
var stringout = "<td>";
2022-05-04 20:31:15 +00:00
if (timeoutput == 'erisian') stringout += dtime(ve[cy], 'yold');
else stringout += cy;
var Imbolc = new Date(ss[cy-1].getTime() + ((ve[cy].getTime() - ss[cy-1].getTime()) / 2));
stringout += '<td class = "even">' + formatedDate(Imbolc, timeoutput, UTC) + "</td>";
stringout += '<td>' + formatedDate(ve[cy], timeoutput, UTC) + "</td>";
var Beltane = new Date(ve[cy].getTime() + ((ns[cy].getTime() - ve[cy].getTime()) / 2));
stringout += '<td class = "even">' + formatedDate(Beltane, timeoutput, UTC) + "</td>";
stringout += '<td>' + formatedDate(ns[cy], timeoutput, UTC) + "</td>";
var Lughnasadh = new Date(ns[cy].getTime() + ((ae[cy].getTime() - ns[cy].getTime()) / 2));
stringout += '<td class = "even">' + formatedDate(Lughnasadh, timeoutput, UTC) + "</td>";
stringout += '<td>' + formatedDate(ae[cy], timeoutput, UTC) + "</td>";
var Samhain = new Date(ae[cy].getTime() + ((ss[cy].getTime() - ae[cy].getTime()) / 2));
stringout += '<td class = "even">' + formatedDate(Samhain, timeoutput, UTC) + "</td>";
stringout += '<td>' + formatedDate(ss[cy], timeoutput, UTC) + "</td>";
2017-05-03 10:19:00 +00:00
return stringout;
}
2022-05-04 17:01:58 +00:00
function makeTable(UTC, timeoutput) {
2017-05-03 10:19:00 +00:00
var fulltable = "<table><caption>";
now = new Date();
2022-07-08 19:19:06 +00:00
fulltable += 'Accurate (according to <a href="https://www.imcce.fr">IMCCE</a>) astronomical <a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year">Wheel of the Year</a> - ';
2022-05-04 17:01:58 +00:00
if (timeoutput == 'erisian') fulltable += '<a href="https://discordia.fandom.com/wiki/Erisian_Time">Erisian time</a></br>';
else fulltable += '<b>' + timeoutput + '</b> (<a href="https://en.wikipedia.org/wiki/Coordinated_Universal_Time">Coordinated Universal Time</a>)<br>';
2022-05-04 20:31:15 +00:00
fulltable += '</caption><tr><th>';
2022-05-04 17:01:58 +00:00
if (timeoutput == 'erisian') fulltable += 'YOLD';
else fulltable += 'Gregorian Year';
2022-05-04 20:54:18 +00:00
fulltable += '</th><th><a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Imbolc_(Candlemas)">Imbolc</a></th><th><a';
fulltable += ' href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Spring_Equinox_(Ostara)">Ostara</a></th><th>';
fulltable += '<a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Beltane_(May_Eve)">Beltane</a></th><th><a href="https://en.wikipedia.org/wiki/';
fulltable += 'Wheel_of_the_Year#Summer_Solstice_(Litha)">Kupala</a></th><th><a href="https://en.wikipedia.org/wiki/';
fulltable += 'Wheel_of_the_Year#Lughnasadh_(Lammas)">Lunasa</a></th><th><a href="https://en.wikipedia.org/wiki/';
fulltable += 'Wheel_of_the_Year#Autumn_Equinox_(Mabon)">Mabon</a></th><th><a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Samhain">';
fulltable += 'Samhain</a></th><th><a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Winter_Solstice_(Yule)">Yule</a></th></tr>';
2017-05-03 10:19:00 +00:00
2022-05-04 17:01:58 +00:00
if (timeoutput == 'erisian') UTC = 0;
2022-07-08 19:19:06 +00:00
for (var i = 1; i <= 15; i++) {
2022-05-04 20:31:15 +00:00
var currentyear = (now.getFullYear() - 8 + i);
if (currentyear == now.getFullYear()) fulltable += '<tr class = "currentyear">';
2017-05-03 10:19:00 +00:00
else if (i % 2 == 0 ) fulltable += '<tr class = "even">';
2022-05-04 17:01:58 +00:00
else fulltable += '<tr class = "odd">'
2022-05-04 20:31:15 +00:00
fulltable += tableRow(currentyear, timeoutput, UTC) + "</tr>";
2017-05-03 10:19:00 +00:00
}
fulltable += "</table>";
return fulltable;
}
2022-05-04 17:01:58 +00:00
// var currentdate = new Date();
// var utcoffmin = -(currentdate.getTimezoneOffset()/60);
2022-05-04 20:31:15 +00:00
2022-05-04 17:01:58 +00:00
var defaultTable = makeTable(0, "erisian");
2017-05-03 10:19:00 +00:00
document.getElementById("soltable").innerHTML = defaultTable;
</script>
2019-08-04 22:49:09 +00:00
<br><p align="center"><a href="https://gitlab.com/zlax/solarwheeloftheyear">source code</a></p>
2022-05-04 20:31:15 +00:00
<br><p align="center"><a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year"><img src="0.5.0_octosol.png" alt="Octosol by DougInAMug"></a></p>
2017-05-03 10:19:00 +00:00
</body>
2017-05-03 10:26:09 +00:00
</html>