It is currently Sun Sep 15, 2019 4:03 pm


All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Age calculation bug
PostPosted: Sun Jul 03, 2016 8:42 am 
6th Man

Joined: Tue Oct 05, 2004 12:58 am
Posts: 108
There is a bug related to age calculation depending on the day of birth being greater than 12 or less than 13 when having non english PC set up.

In my case with Spanish configuration dd/mm/yyyy format is taken to calculate age when the player was born on a day from 1 to 12 but mm/dd/yyyy is used when day is 13-31.

Some players get 1 year deviation depending on the way you fill their birthdate.

For Brandon Ingram, when birthday format is mm/dd/yyyy

Image

His age is:

Image

But, when is dd/mm/yyyy

Image

Age is well calculated:

Image

With Simmons is right because day of birth is greater than 12.

Image

Image


Top
Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net