266 lines
26 KiB
HTML
266 lines
26 KiB
HTML
<!DOCTYPE html>
|
|
<!-- https://gitlab.com/zlax/solarwheeloftheyear -->
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<!--
|
|
;
|
|
;=
|
|
.=; .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">
|
|
<script type="text/javascript" src="dtime.js"></script>
|
|
<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>
|
|
<title>solar wheel of the year</title>
|
|
</head>
|
|
<body>
|
|
<br><p align="center"><input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(0, 'erisian');" value="Erisian time"/></p>
|
|
<p align="center">Christian time:<br><input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-11, 'UTC-11');" value="UTC-11"/>
|
|
<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"/>
|
|
<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">
|
|
|
|
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);
|
|
}
|
|
return dateout;
|
|
}
|
|
|
|
function tableRow(cy, timeoutput, UTC) {
|
|
var stringout = "<td>";
|
|
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>";
|
|
return stringout;
|
|
}
|
|
|
|
function makeTable(UTC, timeoutput) {
|
|
|
|
var fulltable = "<table><caption>";
|
|
now = new Date();
|
|
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> - ';
|
|
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>';
|
|
fulltable += '</caption><tr><th>';
|
|
if (timeoutput == 'erisian') fulltable += 'YOLD';
|
|
else fulltable += 'Gregorian Year';
|
|
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>';
|
|
|
|
if (timeoutput == 'erisian') UTC = 0;
|
|
|
|
for (var i = 1; i <= 15; i++) {
|
|
var currentyear = (now.getFullYear() - 8 + i);
|
|
if (currentyear == now.getFullYear()) fulltable += '<tr class = "currentyear">';
|
|
else if (i % 2 == 0 ) fulltable += '<tr class = "even">';
|
|
else fulltable += '<tr class = "odd">'
|
|
fulltable += tableRow(currentyear, timeoutput, UTC) + "</tr>";
|
|
}
|
|
|
|
fulltable += "</table>";
|
|
return fulltable;
|
|
}
|
|
|
|
// var currentdate = new Date();
|
|
// var utcoffmin = -(currentdate.getTimezoneOffset()/60);
|
|
|
|
var defaultTable = makeTable(0, "erisian");
|
|
document.getElementById("soltable").innerHTML = defaultTable;
|
|
|
|
</script>
|
|
|
|
<br><p align="center"><a href="https://gitlab.com/zlax/solarwheeloftheyear">source code</a></p>
|
|
<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>
|
|
|
|
</body>
|
|
</html>
|