This topic is locked

Possible Bug - Drop Down Date with Datepicker

5/17/2011 8:50:20 PM
PHPRunner General questions
D
dblack6047 author

Greetings,
I am using PHPRunner 5.3 (Build 7474) and just observed a possible bug. Specifically, I have elected to use within PHPRunner the "Dropdown boxes with datepicker" for a Date column in my Database.
After building my PHP pages that uses the "Dropdown boxes with datepicker" I noticed that when I select the dropdown month "June" it displays 31 days to choose from. Note that there are only 30 days in June each year. If I accidentally select "31" it changes the month from "June" to "July" and makes the day change to "1" thus my date changes to "July 1".
I noticed this after attempting to select dates for my records and observed my dates were all changing to July 1st and not June 31st (although there are no 31 days in June).
Is this a possible bug as far as days that can be chosen from each month in the year?
I would presume that not all months have 31 days. My customers will certainly select by accident "31" in some months not knowing it will default to the first day of the next month.
Thank You,
David

D
dblack6047 author 5/19/2011

Actually it appears that 31 days is listed for all months (not just June) which is causing confusion for my customers as they use the calendar's "last day of the month" as trustworthy and are not observing they are selecting incorrect dates (date gets pushed to the next day in the month).
Any assistance in identifying this as a bug and fixing this would be greatly appreciated.

Sergey Kornilov admin 5/19/2011

This is the way how it works at the moment. What you saying makes total sense and we'll fix it in one of the following updates.
Meanwhile I can suggest to use a datepciker to avoid user errors like this one.