oioioi.clock.views¶
Module Contents¶
Functions¶
|
|
|
Extends the response dictionary with rounds times. |
|
- oioioi.clock.views.get_times_status(request, response)[source]¶
Extends the response dictionary with rounds times.
Extends the dictionary with keys:
time: the number of seconds elapsed since the epochround_start_date: the number of seconds between the epoch and the start of the current round if any exists; otherwise 0round_end_datethe number of seconds between the epoch and the end of the current round if any exists; otherwise 0is_admin_time_set:Trueif admin changes the time