针对23-07-15更新了正则,并按字典序排序 - #15
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
请问那两个变量为什么要按照字典排序呢? |
Contributor
Author
您好,可以看一下github更新后的网页源代码,爬虫爬下来的顺序变成了按照星期几排列,比如先从22年,比如7月4号-11号-18号这样一直到23年的星期一排列完成,然后再从22年星期二排列,对于当前calendar呈现出来也会是这样的顺序,所以要按照datadate进行字典排序 |
Barry-Flynn
added a commit
to Barry-Flynn/python_github_calendar_api
that referenced
this pull request
Jul 20, 2023
Zfour/python_github_calendar_api#15 ShengQiBaoZao:23-07-15日github更新后,原先的正则错误,更新了正则,并按字典序排序 Barry-Flynn:请问那两个变量为什么要按照字典排序呢? ShengQiBaoZao:您好,可以看一下github更新后的网页源代码,爬虫爬下来的顺序变成了按照星期几排列,比如先从22年,比如7月4号-11号-18号这样一直到23年的星期一排列完成,然后再从22年星期二排列,对于当前calendar呈现出来也会是这样的顺序,所以要按照datadate进行字典排序
|
经测试,按如法修改后恢复正常,感谢 @ShengQiBaoZao ,期待 @Zfour 早日合并分支,效果请见博客首页 Calendar 卡片 https://blog.meta-code.top/ |
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
23-07-15日github更新后,原先的正则错误,更新了正则,并按字典序排序