melinsoftware / meos

MeOS - A Much Easier Orienteering System
GNU Affero General Public License v3.0
49 stars 26 forks source link

Add zerotime attribute to competition info #73

Closed erict-powersoft closed 6 months ago

erict-powersoft commented 6 months ago

This minor code change adds the zerotime attribute to the competition infoserver API, so that the output looks like this: <competition date="2015-09-06" organizer="Orienteringsklubben Linné" homepage="http://www.oklinne.nu" zerotime="216000">Stafett-DM, Uppland</competition> The reason for this is that our live results display that is driven by infoserver should only show a start time if it has been set explicitly. If a competitor's start time is the same as the zerotime, it is presumed to not have been set yet. The format is in 10th of seconds for simplicity, but if you prefer HH:MM:SS then I can change to that format and resubmit.

erikmelin commented 6 months ago

Hi @erict-powersoft We can add the zero time (in HH:MM:SS format). Unfortunately

I cannot just "pull" you changes since github is just an export repository for me, so I cannot pull from there into the actual main branch (without much manual work). I'll merge this manually instead.