cms-dev / cms

Contest Management System
http://cms-dev.github.io/
GNU Affero General Public License v3.0
898 stars 362 forks source link

Contest scoreboard clock is running at local time #367

Open ibriq opened 10 years ago

ibriq commented 10 years ago

The _get_time() function in cms/cmsranking/static/TimeView.js makes use of the local time. This means that, if one runs a contest in which there is a delay in between the server time and the local time, the scoreboard clock starts with negative values.

stefano-maggiolo commented 10 years ago

Right, thanks for reporting. This was fixed for the contestant server, but not for RWS as it uses a different codebase. We might need to add a new field to the contest info we pass to RWS, tz_offset.