fix bugs month in init and numday with 0