Commit Graph

9 Commits

Author SHA1 Message Date
b612 4302981518 - fix: Correct sun.TrueBo calculation, now using basic.HSunTrueBo for correct solar latitude
- fix: Rename GetSunDownTime to GetSunSetTime in basic/sun.go and update related calls/outputs
- fix: Update test cases to use new method and error constant names

- improve: Rename all DownTime/Down functions to SetTime/Set for consistency
- improve: Standardize ERR_XXX_NEVER_DOWN error constants to ERR_XXX_NEVER_SET, with ERR_XXX_NEVER_DOWN kept as compatibility alias
- improve: More standard naming for interfaces and errors to improve maintainability and readability
2025-09-08 10:37:46 +08:00
b612 616cd54222 fix:时区转换问题 2024-10-26 21:28:26 +08:00
b612 bb07e23238 新增恒星相关计算 2022-05-12 15:55:48 +08:00
b612 7604fabf8f improve rise/down calc 2022-05-10 22:24:10 +08:00
b612 b4b2cea738 添加海拔因素 2022-01-04 14:24:44 +08:00
b612 407a63502b bug fix:timezone error 2021-03-04 17:27:33 +08:00
b612 681dea1fb5 use golang timezone 2020-12-31 09:07:54 +08:00
b612 1c4397c9dc 新增函数&修复bug 2020-07-14 15:38:51 +08:00
b612 9d047c848a init 2019-10-24 10:44:21 +08:00