UTF fix
This commit is contained in:
		
							parent
							
								
									30893bce9f
								
							
						
					
					
						commit
						c0427b7e7d
					
				
							
								
								
									
										26
									
								
								index.html
								
								
								
								
							
							
						
						
									
										26
									
								
								index.html
								
								
								
								
							|  | @ -156,17 +156,17 @@ | ||||||
|     <title>solar wheel of the year</title> |     <title>solar wheel of the year</title> | ||||||
|   </head> |   </head> | ||||||
|   <body> |   <body> | ||||||
|     <br><p align="center"><input type="button" onclick="document.getElementById('soltable').innerHTML = makeTable(-11, 'UTC−11');" value="UTC−11"/> |     <br><p align="center"><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(-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(-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(-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(-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(-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(-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(-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.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(-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(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(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(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, 'UTC+3');" value="UTC+3"/> | ||||||
|  | @ -226,8 +226,8 @@ function makeTable(UTC, UTCstr) { | ||||||
| 
 | 
 | ||||||
|   var fulltable = "<table><caption>"; |   var fulltable = "<table><caption>"; | ||||||
|   now = new Date(); |   now = new Date(); | ||||||
|   fulltable += 'Approximate astronomical <a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year">Wheel of the Year</a> − ' + '<a href="https://en.wikipedia.org/wiki/Coordinated_Universal_Time"><b>' + UTCstr + "</b></a><br>"; |   fulltable += 'Approximate astronomical <a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year">Wheel of the Year</a> - ' + '<a href="https://en.wikipedia.org/wiki/Coordinated_Universal_Time"><b>' + UTCstr + "</b></a><br>"; | ||||||
|   fulltable += 'Model: 2021 <a href="https://en.wikipedia.org/wiki/Tropical_year">Tropical year</a> − ' + ( ( VernalEquinox2022 - VernalEquinox2021 ) / 1000 / 60 / 60 / 24 ) + " days (view source for details)</caption>"; |   fulltable += 'Model: 2021 <a href="https://en.wikipedia.org/wiki/Tropical_year">Tropical year</a> - ' + ( ( VernalEquinox2022 - VernalEquinox2021 ) / 1000 / 60 / 60 / 24 ) + " days (view source for details)</caption>"; | ||||||
|   fulltable += '<tr><th>Gregorian Year</th><th><a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Imbolc">Imbolc</a></th><th><a'; |   fulltable += '<tr><th>Gregorian Year</th><th><a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Imbolc">Imbolc</a></th><th><a'; | ||||||
|   fulltable += ' href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Vernal_Equinox_.28Ostara.29">Ostara</a></th><th>'; |   fulltable += ' href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Vernal_Equinox_.28Ostara.29">Ostara</a></th><th>'; | ||||||
|   fulltable += '<a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Beltane">Beltane</a></th><th><a href="https://en.wikipedia.org/wiki/'; |   fulltable += '<a href="https://en.wikipedia.org/wiki/Wheel_of_the_Year#Beltane">Beltane</a></th><th><a href="https://en.wikipedia.org/wiki/'; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue