Add tests and code to complete the new time parser
Use the new time parser in CLI