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

禁言时间统计不完善 #2

Closed
tautcony opened this issue Jun 23, 2017 · 1 comment
Closed

禁言时间统计不完善 #2

tautcony opened this issue Jun 23, 2017 · 1 comment

Comments

@tautcony
Copy link

tautcony commented Jun 23, 2017

样例:

2017-01-01 00:00:00 系统消息(1000000)
nickname(100000) 被管理员禁言29天23小时59分钟
2017-01-01 00:00:01 系统消息(1000000)
nickname(100000) 被管理员禁言29天23小时59分钟
2017-01-01 00:00:02 系统消息(1000000)
nickname(100000) 被管理员禁言29天23小时59分钟


time_list = ['29天23小时59分钟', '29天23小时59分钟', '29天23小时59分钟']

然后UserProfile.py里的add_time就傻掉了

@DingHanyang
Copy link
Owner

啊 确实是,我这里没考虑好,因为自己没禁言过别人,我用的测试数据里管理都是同一单位禁言的。谢谢。

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

No branches or pull requests

2 participants