Conquer Club

Weird Time Values in CC API

Have suggestion for a new or old tool/enhancement? Come on in!

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

Weird Time Values in CC API

Postby runewake2 on Fri Dec 27, 2013 8:47 pm

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?
Conquer Club Mobile Apps: Conqueror for Windows Phone and Windows 8
Conqueror's going Open Source: Conqueror on CodePlex
User avatar
Corporal 1st Class runewake2
Tech Contributor
Tech Contributor
 
Posts: 95
Joined: Sun May 23, 2010 1:50 pm
Location: Betwixt Two Curly Braces
Medals: 6
Standard Achievement (1) Fog of War Achievement (1) Ratings Achievement (1) General Contribution (3)

Return to Tools Suggestions

Who is online

Users browsing this forum: No registered users

cron