solarlunar's People
Forkers
devopsmi koalacxr venliong limomx motto123 kjx98 telanflow zdzdesigner jovanwang eternity-wdd taceywong nicoxb yph0258691 sunkint mchongjs kk3959 pip1998 yuling3437 1986410806 pingyeaa wrath-y cherub666 rickywanggithub onns juelite wlhet durden-t pkafma-aon daixunxingsolarlunar's Issues
compareWeek has some bug?
should be as follows: @nosixtools
which lead to the 2021 Thanks Giving Day get nothing.
festival := festival.NewFestival("./festival.json"); fmt.Println(festival.GetFestivals("2021-11-24"))
日历数据有问题
我试了下1996.08.04会有问题,自己重写了一个发现我算的也有问题,应该是用的那个数据有问题。
找了个我目前算出来正确的:https://github.com/CutePandaSh/zhdate/blob/a435aa82f01aac66016347d8aab355e990ed09e5/zhdate/__init__.py#L22
另外有一些Lunar打成了Luanr
lunar to solar seems lost 1 day
2005-02-08 lunar is 2005-01-01 lunar, LunarToSolar got 2004年12月30日
日期计算有点问题
举个栗子,关于感恩节(m11w4n5)的计算,不是第4周周4,而是第4个周四,如果第一个周没有周四,就不算第一周
无法解析阴历二月三十
你用阳历的time.parse方法解析输入的阴历字符串, 肯定无法解析阴历二月三十.
比如, LunarToSolar("2020-02-30", false), 肯定有这一天, 结果是解析错误
关于新历农历转换的问题
能不能加上农历的某年某月有多少天的方法
如题
2020-03-23被转成了2020年02月30日
fmt.Println(solarlunar.SolarToSimpleLuanr("2020-03-23"))
获取节日有些问题
-
获取节日,数据重复输出的问题
-
经常遇到一个日期输入,输入大量重复数据的问题,例如输入2022-02-14,输出[情人节,情人节,情人节,情人节。。。。。。] 好多个情人节的情况
-
获取节日,有时不准确
例如某一天2022-11-27,输出为[ 元旦,春节]
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.