Added options for showing only date without time, added more tests