Fix date parsing on cogbin