F L writes: > On Thu, Oct 7, 2021 at 1:33 PM Yu Changyuan <y...@shlug.org> wrote: > >> 抱歉, 由于脚本问题, 发出了错误的通知. 今天休息, 没有H4活动. >> > > OT 一下,问问脚本实现的逻辑是怎样呢?是否考虑把当年节假日当作输入参数考虑进去?一般实现考勤类的都会有此种考量吧。 > 次年的国定节假日会在前一年由国务院提前发布通知,例如2021年的[1] > > [1]: http://www.gov.cn/zhengce/content/2020-11/25/content_5564127.htm
脚本是 wizard <wizarddewh...@shlug.org> 同学维护的, 提前手动输入是一个不 错的方案(1年维护1次). 感兴趣的话, 这里的脚本可以参考一下: https://github.com/shanghailug/script -- Best wishes ~ -- -- You received this message because you are subscribed to the Google Groups Shanghai Linux User Group group. To post to this group, send email to shlug@googlegroups.com. To unsubscribe from this group, send email to shlug+unsubscr...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/shlug?hl=zh-CN --- 您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。 要在网络上查看此讨论,请访问 https://groups.google.com/d/msgid/shlug/87lf35kkyd.fsf%40gmail.com。