Fixed bug: calendar does not appear

Version: 2005-April-18 CVS

I turned on the calendar in start.rb and restarted, but I can’t seem to find a calendar anywhere and the log files appear clean. —Bil

Ok. It was waiting for the 1st of the month before making the calendar pages. Fixed in cvs or patch below. Another example of where I’ve got to improve my test-firstness. —tamc2

diff -r1.14 default-helpers.rb
255,257c255,260
<         @wiki.watch_for(:month) do
<             Time.now.month.upto( Time.now.month+12 ) { |m| render_month( m ) }
<         end
---
>         render_coming_year
>         @wiki.watch_for(:month) { render_coming_year }
>     end
>     
>     def render_coming_year
>         Time.now.month.upto( Time.now.month+12 ) { |m| render_month( m ) }

Works as advertized. Thanks. —Bil

Hopefully fixed in v1-0-0

Edit this page or watch for changes using RSS.