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

时间表小建议 #14

Open
MrDgbot opened this issue Sep 8, 2021 · 5 comments
Open

时间表小建议 #14

MrDgbot opened this issue Sep 8, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@MrDgbot
Copy link
Contributor

MrDgbot commented Sep 8, 2021

时间表我觉得可以根据出一个新的修改方式
eg:
输入:一节课上课时间(单位分钟)
输出:40
输入:一节课休息时间(单位分钟)
输出:5
输入:一讲课休息时间(单位分钟)
输出:10
输入:中午休息时间(即最后一讲课 下课时间)
输出:11:40
输入:下午上课时间
输出:14:00
……

@StageGuard
Copy link
Owner

StageGuard commented Sep 8, 2021

这样也不错,不过并不能适配所有情况。
比如我们学校7-8节课中间就没有休息时间,2-3和6-7节课中间休息时间不一样,晚上四节课的时间没有规律。
真的要精确的话还是得一节一节调整。
不过一般每一节课的时间都相同(40或45),可以和你提供的方法结合一下,在开始的时候先提供每一节课的时间,之后只需要指定开始时间即可,也能一定程度简化。

@StageGuard StageGuard added the enhancement New feature or request label Sep 8, 2021
@MrDgbot
Copy link
Contributor Author

MrDgbot commented Sep 8, 2021

主要是因为每次改到一半他就超时了

@StageGuard
Copy link
Owner

草,建议先把时间都写下来,然后对着调整(x
边想边调的话确实大概率会超时

@MrDgbot
Copy link
Contributor Author

MrDgbot commented Sep 8, 2021

哈哈哈哈雀氏

@azi666
Copy link

azi666 commented Sep 23, 2021

可以教一教怎么部署么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants