stadust / pointercrate

Rewrite of the https://pointercrate.com backend in Rust
MIT License
80 stars 52 forks source link

Time Machine should default to today's date, not 1971 #152

Closed stadust closed 2 months ago

stadust commented 3 months ago

Currently the datetime selector always defaults to 19-06-1971, which is a placeholder value I used during development and apparently forgot to replace with proper logic that would initialize it to the current date (e.g. the day at which the website is being viewed)

AbhisekLucky commented 3 months ago

getdate()

emonadeo commented 3 months ago

new Date(), actually

stadust commented 3 months ago

Neither, the default is set server sided

emonadeo commented 3 months ago

💀

stadust commented 2 months ago

fixed by https://github.com/stadust/pointercrate/pull/168