summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/sys/time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/sys/time.c b/common/sys/time.c
index 5cf20dc1..6c022698 100644
--- a/common/sys/time.c
+++ b/common/sys/time.c
@@ -24,7 +24,8 @@ int getHoroscope(int m, int d)
// 摩羯 水瓶 雙魚 牡羊 金牛 雙子 巨蟹 獅子 處女 天秤 天蠍 射手
const int firstday[12] = {
- /* Jan. */ 20, 19, 21, 20, 21, 21, 23, 23, 23, 23, 22, 22
+ // Reference: http://zh.wikipedia.org/wiki/%E6%98%9F%E5%BA%A7
+ /* Jan. */ 20, 19, 21, 20, 21, 22, 23, 23, 24, 24, 22, 22
};
if (d >= firstday[m - 1]) {
if (m == 12)