Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist committed May 20, 2016
1 parent 3ffe1e6 commit 9b3f44f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/lunar-date.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ void show_day_hour_info(BusLunarDate *date, gint year, gint month, gint day, gin

g_print("公历:%d年%d月%d日\n", year, month, day);
if (hour > 0) {
format = "农历:%(NIAN)年%(YUE)%(RI)\n"
format = "农历:%(NIAN)年%(YUE)%(RI)\n"
"干支:%(Y60)年%(M60)月%(D60)日%(D60)时\n"
"生肖:%(shengxiao)";
} else {
hour = 3;
format = "农历:%(NIAN)年%(YUE)%(RI)\n"
format = "农历:%(NIAN)年%(YUE)%(RI)\n"
"干支:%(Y60)年%(M60)月%(D60)日\n"
"生肖:%(shengxiao)";
}
Expand Down

0 comments on commit 9b3f44f

Please sign in to comment.