Csardelacal / YCH-Issues

Issue tracking for YCH.commishes.com
1 stars 0 forks source link

Wrong device clock will cause timer to indicate wrong left time. #13

Closed Csardelacal closed 7 years ago

Csardelacal commented 8 years ago

When a user has a slight difference between their device and sever clock, the timer will show the end time relative to the device's clock while the auction will be closed as soon as the server ends it.

We should therefore attach the request response time with the response and recalculate the timer depending on this.

tumblr_o3jbm5lhpl1twglo6o1_540

I would suggest making the timer a little conservative, rounding seconds down and therefore not tricking the user into the false sense of safety of having a few seconds left when the time is already over.