dates working in create page (temporary fix)