以下是我对此命令的代码: @client.command()
embed.add_field(name=f"{member} Has had Nitro Since:", value = datetime.date.strftimectx.send(embed=embed) 每当我运行这段代码时,我就会得到错误"discord
我正在使用Django创建一个包含DateTimeField的API,但是我得到了以下错误:"TypeError:描述符'datetime.date‘对象不适用于'str’对象--我尝试过检查不同的源,错误是由start_date行引起的。= request.POST['poll_question']
title = request.POST[
然后在'strftime' requires a 'datetime.date' object but received a 'str'行上得到错误的datetime.datetime.strftimepickle.load(dataHistFile, encoding='bytes')dt_obj = datetime.datetime.strfti