summivox / thucal2

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

导出二级课表时起始时间错误 #20

Closed chenxiaoqino closed 10 years ago

chenxiaoqino commented 10 years ago

单独导出二级课表(在二级课表页面进行导出)时,生成的日历文件错误,首次事件已经过了期末。

另外,整体选课页面导出正常。

导出的日历文件和二级选课页面的html在这里

wuuuuuud commented 10 years ago

其实我都怀疑钟音有没有考虑过只导出二级课表的情况...

chenxiaoqino commented 10 years ago

我觉得只是推测学期开始日期的那部分代码有问题;原先设计时确实包括了在整体、一级、二级三个页面的显示。

发自我的 iPad

在 2014-9-24,下午8:07,wuuuuuud notifications@github.com 写道:

其实我都怀疑钟音有没有考虑过只导出二级课表的情况...

— Reply to this email directly or view it on GitHub https://github.com/summivox/thucal2/issues/20#issuecomment-56660004.

summivox commented 10 years ago

没有考虑只导出二级课表,因为大部分实验课(即代码中Gl)都在list中没有对应

可以特别判断一下是否在二级课表页面,如果是的话不显示按钮