Page 1 of 1

Weird Time Values in CC API

PostPosted: Fri Dec 27, 2013 8:47 pm
by runewake2
There are some weird timestamps being returned from the CC API. For example if I call http://www.conquerclub.com/api.php?mode=gamelist&gs=a&p1un=conrwronski, I get this:

Code: Select all
<game>
<game_number>13159926</game_number>
<game_state>A</game_state>
<tournament/>
<private>N</private>
<speed_game>N</speed_game>
<map>First Nations Americas</map>
<game_type>T</game_type>
<initial_troops>E</initial_troops>
<play_order>S</play_order>
<bonus_cards>1</bonus_cards>
<fortifications>C</fortifications>
<war_fog>N</war_fog>
<trench_warfare>N</trench_warfare>
<round_limit>0</round_limit>
<round>22</round>
<poly_slots>1</poly_slots>
<time_remaining>00:0-17:0-57</time_remaining>
<chat/>
<players>
<player state="Lost">551479</player>
<player state="Waiting">546893</player>
<player state="Waiting">458990</player>
<player state="Lost">576725</player>
<player state="Waiting">567199</player>
<player state="Lost">90678</player>
<player state="Waiting">574416</player>
<player state="Waiting">573343</player>
<player state="Waiting">228570</player>
<player state="Waiting">472988</player>
<player state="Ready">432638</player>
<player state="Waiting">462199</player>
</players>
<events/>
</game>


which is fine except for the time remaining value which is... odd. This is causing some issues with my apps. 00:0-17:0-57 this shouldn't happen. Can we get this fixed?