apply patch to date module

attempt to fix bef bug