Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何修改文件重命名{create}的具体格式 #737

Open
github2611 opened this issue Jun 28, 2024 · 1 comment
Open

如何修改文件重命名{create}的具体格式 #737

github2611 opened this issue Jun 28, 2024 · 1 comment
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems)

Comments

@github2611
Copy link

比如一个文件的创建时间{create}命名为了2024-06-07 15-02-41,
如何修改设置才能将创建时间{create}命名为2024-06-07 15.02.41

  • 操作系统: [e.g. Win10 x64 22H2 19045.4046]
  • 浏览器 [e.g. Edge 122.0.2365.52]
  • 终端 [e.g. WT 1.18.10301.0]
  • F2版本 [e.g. 0.0.1.6]
@github2611 github2611 added the 故障(bug) 代码问题导致的错误(Bugs caused by code problems) label Jun 28, 2024
@xjuzhi
Copy link

xjuzhi commented Jul 12, 2024

先说下我自己的方法,我试过后可行,但是有没有bug就不知道了
找到包路径下的f2\utils\utils.py文件
修改第71行
format: str = "%Y-%m-%d %H-%M-%S"
修改为
format: str = "%Y-%m-%d %H.%M.%S"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems)
Projects
None yet
Development

No branches or pull requests

2 participants