created get_code_thumbnail methods
change time format in get_code_thumbnail