iPoker dates in UK format (01/04/2009 = 1st April 2009)

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby Russelldust » Wed Apr 01, 2009 5:45 pm

Are there any fellow William Hill players on here?

Now that Will Hill have switched to iPoker, I can import my tournament hand histories into PokerTracker - great. :) Unfortunately, as I now realise, the William Hill poker client outputs dates in UK format, and this trips up PokerTracker.

Today I played some William Hill tournaments and imported the histories into PT3 as usual. The histories contain dates in the following format:
Code: Select all
<startdate>(UK): 01/04/2009 14:37</startdate>


Unfortunately PT seems to be interpreting the date as though it is in the US format MM/DD/YYYY, as opposed to the UK format DD/MM/YYYY.

Compare the dates written out by VC Poker (the much less ambiguous YYYY-MM-DD):
Code: Select all
<startdate>2008-06-11 12:02:36</startdate>


As a result, PT has filed all of today's iPoker tournaments under the date 4th January 2009. :(

In future, will I have to 'doctor' my hand histories manually before importing them, or is it on the cards to program PT to digest UK-format dates?

Thanks in advance!
Russelldust
 
Posts: 106
Joined: Thu Jul 24, 2008 2:51 am

Re: iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby Mattel » Wed Apr 01, 2009 5:53 pm

I also just hit this problem with Will Hill. Won a big MTT today and now its skewed my winnings graph way off as its put in in for the 4th of Jan as above.
Mattel
 
Posts: 12
Joined: Wed Mar 18, 2009 11:13 am

Re: iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby Russelldust » Wed Apr 01, 2009 5:55 pm

^ that

(Except I lost money today, rather than winning!) ;)
Russelldust
 
Posts: 106
Joined: Thu Jul 24, 2008 2:51 am

Re: iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby spam » Thu Apr 02, 2009 2:21 am

This of course goes for all the logs including the cash game information, so now I have data that is dated January 4th (should be April 1st) and February 4th (should be April 2nd). What I find weird in all this is that all the dates from March worked just fine, thought that would had messed things up right from the start. I wonder what will happen on April 13th?

Anyway, what are the chances of some kind of quickfix for something like this? I am guessing it will take several weeks before there is a new PT release planned...
spam
 
Posts: 5
Joined: Thu Mar 06, 2008 6:21 am

Re: iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby WhiteRider » Thu Apr 02, 2009 3:46 am

Please send us a few of these hand histories attached to a ticket on out Support system , and link to this thread in the reference field of the ticket so that we can investigate.
(select a few files, right click > Send to Compressed Folder and attach the .zip file)
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby spam » Thu Apr 02, 2009 4:03 am

Done
spam
 
Posts: 5
Joined: Thu Mar 06, 2008 6:21 am

Re: iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby WhiteRider » Thu Apr 02, 2009 4:28 am

Thanks - someone will get back to you via your ticket.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby Russelldust » Fri Apr 03, 2009 2:49 pm

Mattel,
Re your results being skewed by the bad dates...


FIXING HAND HISTORIES PRIOR TO IMPORT

Until PT add support for the UK-format dates, you can work around the problem by manually editing the hand histories BEFORE importing them. To do so, boot up Notepad, and use Edit/Replace to replace all instances of "(UK): 01/04/2009" with "2009-04-01" (without the quotes). Obviously, substitute the appropriate dates.


FIXING BAD DATES FOR ALREADY-IMPORTED TOURNAMENTS

There is no quick-fix for bad dates that have already made their way into your database. As far as I can see, you have to zap the offending tournaments completely from the database, then manually edit the hand histories and re-import them as described above.

Merely re-importing the doctored hand histories, without first deleting those tournaments from the database, has no effect. PT seems to think "oh, I've already imported this tournament - no need to import it again". Thus, it does not correct the dates.

I have found that PT does let you purge games on a tournament-by-tournament basis. Go to the Database menu / Database Management. Click the "Purge..." button. Go to the Tournaments tab, and find the offending tournaments with the bad dates. You can multiple-select tournaments by holding down the CTRL or SHIFT keys while clicking. Once you have selected all the tournaments you want to zap, click "Purge Selected".

Now you are ready to import your doctored hand histories.


IF YOU HAVE MANUALLY ENTERED TOURNAMENT DATA

Purging tournaments from your database loses any information you have entered manually. For example, after a poker session, I usually type in the number of entrants, the number of rebuys/addons I purchased, and so on, for each game.

You need to take additional steps to back up this information before purging those tournaments. Otherwise, you will have to re-enter all the data manually.

Prior to purging, you should export your PT database. Again from the Database Management dialogue, click "Export..." then go to the "Tournament Hands" tab. By default it will export your whole database, but you can use the filters to narrow down the selection, e.g. all iPoker games since 01-Jan-2009. Then click "Export Hands". Decide where to put the exported data and click "Ok". This exports not just the hands but also the tournament summaries, which are what we are interested in.

There is one more step. The tournament summaries, which we have just exported, contain the bad dates! So you need to fix them using Notepad. The summary files have obvious filenames like "iPoker_TnySumExport_200904020034_01601.txt". For each offending tournament, change both instances of "2009/01/04" to "2009/04/01" using Edit/Replace.

Now you have your tournament results data backed up, you can purge the offending tournaments, re-import the doctored hand histories, and finally re-import the doctored tournament summaries.


SO TO RECAP...

* Export your PT database (IF you need to back up tournament summary data that you have entered manually).
* Fix the bad dates in the exported tournament summaries.
* Purge the offending tournaments.
* Doctor your hand histories (using Notepad's Replace function to change the dates to the format YYYY-MM-DD).
* Import the doctored hand histories.
* Import the doctored tournament summaries (IF you backed them up as described above).


I hope this is helpful, and that I haven't left out any steps! :)
Russelldust
 
Posts: 106
Joined: Thu Jul 24, 2008 2:51 am

Re: iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby Mattel » Tue Apr 07, 2009 2:14 pm

How we doing on a fix for this?
Mattel
 
Posts: 12
Joined: Wed Mar 18, 2009 11:13 am

Re: iPoker dates in UK format (01/04/2009 = 1st April 2009)

Postby jds3d » Wed Apr 08, 2009 8:49 am

Hi,
I've been assigned the support ticket. It appears that William Hill changed the format of their hand histories on or around April 1st.

new:
<startdate>(UK): 01/04/2009 22:15</startdate>

old:
<startdate>(UK): 02/24/2009 22:13</startdate>

This is bad because if I alter PT3 to import in the MM/DD/YYYY format instead of the DD/MM/YYYY format, PT3 will no longer function properly for older hand histories.

I need to find out exactly when they made the switch, and what hand number that game was. If you players could give me your latest hand number in the format MM/DD/YYYY and the earliest hand number in the format DD/MM/YYYY, I should be able to patch the software.
jds3d
Developer
 
Posts: 4
Joined: Thu Oct 23, 2008 4:53 pm

Next

Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests