home/categories/scripting/ecnu-icalk-autoskill-skillbank-users-chinese-gpt3-5-8-glm4-7-python日期字符串标准化转换函数-skill-md
scriptingdevelopment

python

编写Python函数,将包含或不包含时间部分的日期字符串(如'2023/6/26 15:00'或'2023/6/26')统一转换为datetime.date对象。

ECNU-ICALK
maintainer
ECNU-ICALK
更新于 2026/3/1
星标
304
分支
34
quick start

Installation and usage

编写Python函数,将包含或不包含时间部分的日期字符串(如'2023/6/26 15:00'或'2023/6/26')统一转换为datetime.date对象。

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use python