Board index » Visual Studio » Bug in CDateTimeCtrl for 2 days only?
|
jshuatree
|
Bug in CDateTimeCtrl for 2 days only?
Visual Studio19
Our application is exhibiting a strange bug today out of the blue. The CDateTimeCtrl is exhibiting a strange behavior. I have it set so that the format is MMMM YYYY so we don't see the day. If it's set as a spin control or if you use the arrows to inc/dec the month it doesn't show February. It goes from January to <blank) then to March. By default it's populated with today's date. Jan 30 and Jan 31 cause problems. It's behaving like it think the month is actually February where 30th and 31st don't exist. Shouldn't the control automatically increment the day to a valid value when changing month to February? It does this with other months where 31st isn't valid. It must be a leap year bug? - |
