Time Played - problem?

#1 - Sept. 19, 2012, 1:05 p.m.
Blizzard Post
Is there anyone playing around with the api right now?

It seems the time calculation is wrong...
Take my characters as example. I have a barbarian with 20 hours played and a wizard with 100 hours and the values returning from de api is:

timePlayed = {
barbarian = 1;
"demon-hunter" = 0;
monk = 0;
"witch-doctor" = 0;
wizard = 1;
};

The barbarian is returning 1 when it should return 0.2 right?
Anyone having the same issue?
Forum Avatar
Web & Mobile Team
#2 - Sept. 19, 2012, 2:17 p.m.
Blizzard Post
Well, kinda. What happens is that the data displayed will show the most played class as "1" and then the sum of all of the other classes will be 1. In this case, your barb is your most played class and you've only every played one other, so it is one as well. If you create a new character (demon hunter, monk or witch doctor) you'll see the numbers fluctuate.
Forum Avatar
Web & Mobile Team
#5 - Sept. 19, 2012, 6:24 p.m.
Blizzard Post
Yeah, we should probably change that behavior.