osmus / dogwood

The Jekyll theme powering openstreetmap.us
https://osmus.github.io/dogwood/
MIT License
8 stars 2 forks source link

Times right but days wrong when dateline is crossed #2

Open jidanni opened 9 months ago

jidanni commented 9 months ago

I think the bug I reported at https://github.com/osmus/mappingusa.org-redirects/issues/1 might be related to the source HTML somewhere around

   // hardcode UTC offset
    h += 5;
    // normalize between 0 and 23
    h = h % 24;
    var m =  parseInt( time[2]) || 0;
    return new Date(Date.UTC(2024, 1, 19, h, m));

but I'm not sure, @quincylvania .

Anyway, I'm worried after the conference is over the page will fold up and you won't see the problem anymore.