fix date_parse and uasort
fix line formatting