improving date parsing in CLI