You need to add leading zeros: try replacing: s = {datetime.strftime(d, "%Y-%m-%d")}. with: s = f'{d.year:04d}-{datetime.strftime(d, ...
確定! 回上一頁