更换岁差、章动算法

This commit is contained in:
2025-09-18 13:16:04 +08:00
parent 9f688024e8
commit 543abcafa5
23 changed files with 1215 additions and 339 deletions
+1 -1
View File
@@ -254,7 +254,7 @@ func PhaseDesc(date time.Time) string {
// 返回Date对应UTC世界时的月相大小
func Phase(date time.Time) float64 {
jde := basic.Date2JDE(date.UTC())
return basic.MoonLight(basic.TD2UT(jde, true))
return basic.MoonPhase(basic.TD2UT(jde, true))
}
// ShuoYue 朔月