fix date creation in ff