Calendar borken in Rublog CVS
After trying to figure out why the calendar in Rublog wasn’t working
I eventually managed to gather enough info using Google that I realized it
could be a problem only the Rublog from CVS has. And hey, yup it
was. Sigh.
Now, why did I use the CVS version fom the start? I think I read somewhere that I should use it to get access to the Wordpress styles etc, but perhaps my memory fails. :)
Anyway, the diff between Rublog in CVS and the 1.0 release is only a few lines, and sure enough they have to do with the date parsing in the URL:
diff rublog-cvs/Request.rb rublog/Request.rb
197,198c196,197
< elsif @path.sub!(%r{\b(\d\d\d\d(/\d\d?(/\d\d?)?)?)$}, '') ||
< @date_spec = $1
---
> elsif @path.sub!(%r{\d\d\d\d(/\d\d?(/\d\d?)?)?$}, '')
> @date_spec = $&
While browsing around in the code the itch to reimplement Rublog in Squeak started again. But no promises.