<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,11 @@
-=== 0.2.3 / 2008-06-11
+=== 0.3.1 / 2008-06-19
 
-* Removed gem spec to be just a plugin because this is now a fork of original gem.
+* Fixed month_name_text with non-default month [jaggederest]
+
+=== 0.3.0 / 2008-06-11
+
+* Forked plugin
+* Removed gem spec to be just a plugin.
 * Removed requirement for month and year. Defaults to current month and year.
 * Added option for :month_name_text to override presentation of month name.
 </diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ require 'date'
 # CalendarHelper allows you to draw a databound calendar with fine-grained CSS formatting
 module CalendarHelper
 
-  VERSION = '0.3'
+  VERSION = '0.3.0'
 
   # Returns an HTML calendar. In its simplest form, this method generates a plain
   # calendar (which can then be customized using CSS).
@@ -79,11 +79,12 @@ module CalendarHelper
       :first_day_of_week   =&gt; 0,
       :accessible          =&gt; false,
       :show_today          =&gt; true,
-      :month_name_text     =&gt; Date::MONTHNAMES[Time.now.month],
       :previous_month_text =&gt; nil,
       :next_month_text     =&gt; nil
     }
     options = defaults.merge options
+    
+    options[:month_name_text] ||= Date::MONTHNAMES[options[:month]]
 
     first = Date.civil(options[:year], options[:month], 1)
     last = Date.civil(options[:year], options[:month], -1)</diff>
      <filename>lib/calendar_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -36,6 +36,11 @@ class CalendarHelperTest &lt; Test::Unit::TestCase
     assert_match %r{&gt;#{month_and_year}&lt;}, calendar_with_defaults(:month_name_text =&gt; month_name + ' ' + Time.now.year.to_s)
   end
 
+  def test_month_name_text_is_correct_for_month
+    month_and_year = 'January'
+    assert_match %r{&gt;#{month_and_year}&lt;}, calendar_with_defaults(:month =&gt; 1)
+  end
+
   def test_custom_css_classes
     # Uses the key name as the CSS class name
     # :other_month_class is not implemented yet</diff>
      <filename>test/calendar_helper_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d934d4924fd46697dac228a5cbaba28d3d268f1f</id>
    </parent>
  </parents>
  <author>
    <name>Adam Meehan</name>
    <email>adam.meehan@gmail.com</email>
  </author>
  <url>http://github.com/adzap/calendar_helper/commit/85de244129cb63336929769108f430c92749f946</url>
  <id>85de244129cb63336929769108f430c92749f946</id>
  <committed-date>2008-06-18T13:55:16-07:00</committed-date>
  <authored-date>2008-06-18T13:55:16-07:00</authored-date>
  <message>fixed default month_name_text when non-default month used</message>
  <tree>2e5f592b1e51fd88bffc583dec79fa37c3cc5534</tree>
  <committer>
    <name>Adam Meehan</name>
    <email>adam.meehan@gmail.com</email>
  </committer>
</commit>
