- Fixed getTimeAgo(), getTimeRemaining(), and getRemainingClass() functions - Database stores UTC timestamps but frontend was treating them as local time - Added logic to append 'Z' to timestamps without timezone info to force UTC interpretation - Now properly shows 48-hour countdown instead of incorrect 52-hour or 28-hour values - Affects both main app (app-mapbox.js) and admin panel (admin.js) |
||
---|---|---|
.. | ||
admin.html | ||
admin.js | ||
app-google.js | ||
app-mapbox.js | ||
app.js | ||
favicon.svg | ||
index.html | ||
privacy.html | ||
style-backup.css | ||
style.css |