does not match format

141 阅读1分钟

问题报错:
ValueError: time data ‘2014/7/1’ does not match format ‘%Y-%m-%d’
原因:
“%Y-%m-%d”
检查格式是否传值正确,且自定义格式是否符合规则