Date parsing fix, fixes issue #112