摘要:
模块先后顺序阅读使用带说明 time模块 ##calendar模块 和日历相关的模块 该模块主要输出某月的字符月历 import calendar # isleap方法可用于判断是否为闰年 print(calendar.isleap(2022)) # False print(calendar.isl 阅读全文
摘要:
按照如下设置即可 TIME_ZONE = 'Asia/Shanghai' # 上海时间 USE_TZ = False # 为了保证django存入MySQL数据库时间差8个小时的问题 参考来源https://blog.csdn.net/goblinM/article/details/80280207 阅读全文