Fixed form date conversion bug