Comments (1)
可以的,像下面这样调用就行~
april_last = datetime.date(2020, 5, 1)
on_holiday, english_name = calendar.get_holiday_detail(april_last)
holiday_name = calendar.Holiday(english_name).chinese # 劳动节
from chinese-calendar.
Related Issues (20)
- 节假日名称问题 HOT 1
- 如果不看调休,每年哪一天过什么节应该是恒定的吧? HOT 1
- 发现一个bug HOT 1
- 请问有维护更新Golang的package么? HOT 2
- 好像没有返回假期长度的接口 HOT 2
- 太棒了,2024年才通知就更新了
- 2024年数据未更新 HOT 1
- 只关注节日是否可以不更新 HOT 1
- nlieudays 怎么算出来的呢
- 24年中秋节调休有误
- 老哥这个包给力,日历文件信息能做成自动从github文件上更新吗? HOT 1
- 支持历史的节假日 HOT 1
- 关于2024年元旦假期的标识情况 HOT 1
- 提供一个折中方案,使用网络api获取日历,适用各种语言的低并发场景 HOT 1
- 如何改返回的假期名为中文啊QAQ HOT 2
- 官方未更新明年节假日时无法获取来年数据 HOT 2
- 2022-06-18判别错误,非节假日
- 2023年数据未更新 HOT 2
- 是否是节假日问题 HOT 1
- 2018年端午节时间应该是三天吧,接口结果为1天。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chinese-calendar.