Hey all,

Im pretty new to Ruby but I see that the links at the top of the
calendar for next and prev month are set with the date.month+1 and
date.month-1 methods but both of these fail when crossing over the
year. If the month displayed is Dec. 2008 the next link is pointing to
month=13 year=2008 and similar with Jan and the prev. link.

Is this a known Ruby bug? Or is there a special way in Ruby to handle
this?  Just thought I would ask really quick before I add some logic
to handle it manually.

Thanks,
Eric
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/

You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to