about summary refs log tree commit diff stats
path: root/app/views
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-31 18:38:08 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-31 18:38:08 -0400
commit2e000fc2f51b3bba4ebd4de475f46abd962972a8 (patch)
tree60a73bd536767ad2affb37e07948486efad8845c /app/views
parent5052207e0f5fd03e49fc51f1a5dbeb92dd79de59 (diff)
downloadwittle-2e000fc2f51b3bba4ebd4de475f46abd962972a8.tar.gz
wittle-2e000fc2f51b3bba4ebd4de475f46abd962972a8.tar.bz2
wittle-2e000fc2f51b3bba4ebd4de475f46abd962972a8.zip
Fixed timezone issue with countdown
Diffstat (limited to 'app/views')
-rw-r--r--app/views/wittle/puzzles/about.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wittle/puzzles/about.html.haml b/app/views/wittle/puzzles/about.html.haml index 8bdb11e..2abf1ad 100644 --- a/app/views/wittle/puzzles/about.html.haml +++ b/app/views/wittle/puzzles/about.html.haml
@@ -46,7 +46,7 @@
46 $("#hours").text(pad(parseInt(parseInt(totalSeconds/60)/60))) 46 $("#hours").text(pad(parseInt(parseInt(totalSeconds/60)/60)))
47 } 47 }
48 } 48 }
49 var totalSeconds = #{(1.day.from_now.beginning_of_day - DateTime.now).to_i + 1} 49 var totalSeconds = #{(Time.now.tomorrow.beginning_of_day - Time.now).to_i + 1}
50 setTime() 50 setTime()
51 var timerInterval = setInterval(setTime, 1000); 51 var timerInterval = setInterval(setTime, 1000);
52%p.summary Wittle was created by <a href="https://www.fourisland.com/">Hatkirby</a>, with major help from <a href="https://github.com/sigma144/">Sigma144</a> (who wrote the puzzle generation code) and <a href="https://github.com/jbzdarkid">jbzdarkid</a> (who wrote the puzzle solving web interface). If you encounter any bugs, or have feedback regarding puzzle difficulty level, feel free to contact me! I am <code>hatkirby</code> on Discord, and you can also find me in the <a href="https://discord.gg/0nJwyUyYIfTEgSz0">Witness Speedrunning server</a>. 52%p.summary Wittle was created by <a href="https://www.fourisland.com/">Hatkirby</a>, with major help from <a href="https://github.com/sigma144/">Sigma144</a> (who wrote the puzzle generation code) and <a href="https://github.com/jbzdarkid">jbzdarkid</a> (who wrote the puzzle solving web interface). If you encounter any bugs, or have feedback regarding puzzle difficulty level, feel free to contact me! I am <code>hatkirby</code> on Discord, and you can also find me in the <a href="https://discord.gg/0nJwyUyYIfTEgSz0">Witness Speedrunning server</a>.