get around webkit date parsing bug