more lenient date parsing

http://manage.dimagi.com/default.asp?142987