Functions for working with the idealized calendar of Planet Xhilr
リビジョン | e0a72df82f4adc07d126ccd89dc3476ffc23dd51 (tree) |
---|---|
日時 | 2017-06-13 16:33:02 |
作者 | Joel Matthew Rees <joel.rees@gmai...> |
コミッター | Joel Matthew Rees |
alternate version not necessary
@@ -5,4 +5,4 @@ alternate worlds, astronomy, calendars, education methods, | ||
5 | 5 | http://joel-rees-economics.blogspot.com/2017/03/soc500-03-08-calendar-math.html |
6 | 6 | |
7 | 7 | |
8 | -Chronologically, it would come in chapter five of the first draft: http://free-is-not-free.blogspot.com/2016/05/economics-101-novel-ch05-first-semester.html. | |
8 | + Chronologically, it would come in chapter five of the first draft: http://free-is-not-free.blogspot.com/2016/05/economics-101-novel-ch05-first-semester.html. |
@@ -52,7 +52,7 @@ define showmonths( years ) { | ||
52 | 52 | for ( year = 0; year < years; ++year ) { |
53 | 53 | for ( month = 1; month <= 12; ++month ) { |
54 | 54 | days = months[ month ]; |
55 | - if isleap( year, month ) { | |
55 | + if ( isleap( year, month ) ) { | |
56 | 56 | days += 1; |
57 | 57 | } |
58 | 58 | sum += days; |