Winstep Forums
http://forums.winstep.net/phpBB2/

Winstrep Xtreme 16.12 Alarm Bug ?
http://forums.winstep.net/phpBB2/viewtopic.php?f=2&t=10384
Page 1 of 1

Author:  Restorator Winstep [ Mon Jan 16, 2017 1:00 pm ]
Post subject:  Winstrep Xtreme 16.12 Alarm Bug ?

Hello

When I edit an alarm and when I click into the Date input field and scroll bar, dialog window crash. Buttons 'Delete', 'OK' and 'Cancel' stop working.

Attachments:
WinstepXtremeEditAlarm.jpg
WinstepXtremeEditAlarm.jpg [ 131.03 KiB | Viewed 10293 times ]

Author:  winstep [ Mon Jan 16, 2017 1:08 pm ]
Post subject:  Re: Winstrep Xtreme 16.12 Alarm Bug ?

Restorator Winstep wrote:
When I edit an alarm and when I click into the Date input field and scroll bar, dialog window crash. Buttons 'Delete', 'OK' andCancel' stop working.


The dialog doesn't crash. Those buttons stop working by design when the date format is not recognized - in this case I think because of the '.' separators.

For now see if using 16/01/2017 instead works while I look into this.

Author:  winstep [ Mon Jan 16, 2017 1:23 pm ]
Post subject:  Re: Winstrep Xtreme 16.12 Alarm Bug ?

Ok, this is caused by a problem with the *native* IsDate() function that is used to validate date fields. It has a serious problem when the date separator is "."

I'll work around it by providing a replacement function. Thanks for letting me know about this.

Author:  winstep [ Mon Jan 16, 2017 2:17 pm ]
Post subject:  Re: Winstrep Xtreme 16.12 Alarm Bug ?

Ok, should have fixed this issue for next release.

Date input and validation is always problematic because of all the different regional settings and date separators. Even the native built-in functions (such as IsDate() don't always get it right, in this case it got tripped by the use of '.' as the date separator).

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/