Mise à jour de 'proj/bitemychin/index.html'

This commit is contained in:
ed barz 2022-02-28 17:46:01 +00:00
parent ad19b2a89a
commit ca648a90ea
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ section#countdown {
<section id="intro"> <section id="intro">
<p>Dear Julia,</p> <p>Dear Julia,</p>
<p></p> <p></p>
<p>Assuming you will come for 1pm, you will be able to bite my chin in:</p> <p>Assuming you will come for 10pm, you will be able to bite my chin in:</p>
<section id="countdown"> <section id="countdown">
<span class="hcount"></span><span> hours, </span> <span class="hcount"></span><span> hours, </span>
<span class="mcount"></span><span> minutes and</span> <span class="mcount"></span><span> minutes and</span>
@ -71,7 +71,7 @@ section#countdown {
</body> </body>
<script> <script>
countdown = () => { countdown = () => {
const youpiTime = new Date('Jan 24 2022 13:00:00 GMT+0100') const youpiTime = new Date('Mar 01 2022 10:00:00 GMT+0100')
var youpT = youpiTime.getTime() var youpT = youpiTime.getTime()
let parisString = new Date().toLocaleString("en-US", { timeZone: "Europe/Paris" }); let parisString = new Date().toLocaleString("en-US", { timeZone: "Europe/Paris" });
let parisTime = new Date(parisString) let parisTime = new Date(parisString)