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

时间格式自定义,定时发布 #33

Open
yulinlin404 opened this issue Oct 6, 2021 · 2 comments · Fixed by #47
Open

时间格式自定义,定时发布 #33

yulinlin404 opened this issue Oct 6, 2021 · 2 comments · Fixed by #47

Comments

@yulinlin404
Copy link

现在的时间格式是2021年10月6日这样的,希望能加入一个自定义功能,我想改成2021-10-6.

啊b的定时发布希望实现以下,我想每天上午9点定时发布而不是直播完就上传审核发布。

如果可能的话,信息刷新时加一个写入状态吧,如果状态不对可以及时发现修复。

@ZhaoWeicheng98
Copy link
Member

感谢您的建议,不过由于我本人比较忙,可能最近以修复bug为主。关于第一点,如果您有需求,只需修改Uploader.py 中的72-73行及109-110行为 datestr = global_start.strftime('%Y-%m-%d') 即可。

@ZhaoWeicheng98
Copy link
Member

1.2.0增加了时间占位符。
至于定时发布,目前依赖的库似乎没写,不过其他库有,我可能之后会去向我用的这个上游库写一些代码。

@ZhaoWeicheng98 ZhaoWeicheng98 linked a pull request Feb 8, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants