summivox / thucal2

Tsinghua University curriculum -> iCalendar format (.ics) -> Google Calendar, etc.
http://userscripts.org/scripts/show/159785
22 stars 9 forks source link

请对不是全周上课的课程进行处理 #1

Closed heyeshuang closed 11 years ago

heyeshuang commented 11 years ago

现在实验课每周都要显示一次,希望能只显示一次就好。具体可能需要一些字符串判断,关键字有“全周”“单周”“双周”“1-13周”“2,3,4,7周”等类型

实现以后我就可以抛弃自己那个了

summivox commented 11 years ago

这个最初就实现了,我以及身边的人一直没问题(实验室科研探究,etc.)可能是有exception。。。

  1. 更新到0.3.7试试
  2. 如果不行,可以把info密码改个临时的发给我测试吗?smilekzs at gmail dot com
summivox commented 11 years ago

当然我也是希望做一个比较完美的,终结现在的混乱的场面……[处理三小节课, 自动检测第一周周一, ...]的方法是我最先搞出来的,但坑爹的教务系统不免有我看不到的死角,所以真心需要各种bug report...

我的日历样例 (thucal2->google calendar->export ics)

https://gist.github.com/smilekzs/03d256e1b04dc3f1402a

你可以导入一下试试,非全周的课当然处理了

heyeshuang commented 11 years ago

更新到0.3.7后问题解决,赞一个! 另外,上学期我在信息门户发现了这个:http://zhjw.cic.tsinghua.edu.cn/jxmh.do?m=bks_jxrl_all  感觉上比直接用课程表简单得多

summivox commented 11 years ago

我用的就是这个 ;) feel free to read the source~

heyeshuang commented 11 years ago

冰咖啡看不懂呀TT 在 2013-3-1 下午5:23,"smilekzs" notifications@github.com写道:

我用的就是这个 ;) feel free to read the source~

— Reply to this email directly or view it on GitHubhttps://github.com/smilekzs/thucal2/issues/1#issuecomment-14279403 .

summivox commented 11 years ago

跟原版coffee-script差别不大,只多加了两个关键词,不影响阅读。

等回去就close了。 On Mar 1, 2013 5:25 PM, "heyeshuang" notifications@github.com wrote:

冰咖啡看不懂呀TT 在 2013-3-1 下午5:23,"smilekzs" notifications@github.com写道:

我用的就是这个 ;) feel free to read the source~

— Reply to this email directly or view it on GitHub< https://github.com/smilekzs/thucal2/issues/1#issuecomment-14279403> .

— Reply to this email directly or view it on GitHubhttps://github.com/smilekzs/thucal2/issues/1#issuecomment-14279485 .

heyeshuang commented 11 years ago

[OT]现在有什么支持coffeescript的IDE和调试工具吗?感觉这语言挺有趣的,就是有点新…… 在 2013-3-1 下午5:25,"贺叶霜" yeshuanghe@gmail.com写道:

冰咖啡看不懂呀TT 在 2013-3-1 下午5:23,"smilekzs" notifications@github.com写道:

我用的就是这个 ;) feel free to read the source~

— Reply to this email directly or view it on GitHubhttps://github.com/smilekzs/thucal2/issues/1#issuecomment-14279403 .

summivox commented 11 years ago

smilekzs/vim-coffee-script forked from kchmck/vim-coffee-script

heyeshuang commented 11 years ago

问题并没有完全解决,但是和脚本无关:android(4.2)的日历程序似乎不支持复杂的重复,造成每周都有实验的现象 a199e378-8360-11e2-8ae2-43716889918b afce03fc-8360-11e2-8091-cc847033551e (图像已打码) 在google此bug修复前,可能需要一些妥协方案……

summivox commented 11 years ago

嗯,我的4.0 CM9也有这个问题,但只是部分(第一周还没事,第二周开始有问题了)。
我看看怎么修好。

吐槽一句(OT):现在的android,简直就是walled garden。我计划以后全面换Firefox OS,前提条件是要有全键盘机……

heyeshuang commented 11 years ago

android不是一直以开放自居吗?至少能简单地root,终端也挺方便;而且从现在的视频来看,Firefox好像也只能用HTML吧…… PS.谢谢删除

summivox commented 11 years ago

fixed in cc38b120220fa295bbe95b7f1aefca94478f0d40