apply patch to date module

attempt ti fix bef date pick bug