<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,9 @@
 require 'ostruct'
+require 'date'
+require 'time'
 
 class WeatherManResponse
-  attr_reader :current_conditions, :forecast, :api_url, :unit_temperature, :unit_distance, :unit_speed, :unit_pressure, :links
+  attr_reader :current_conditions, :forecast, :api_url, :unit_temperature, :unit_distance, :unit_speed, :unit_pressure, :links, :local_time
   
   def initialize(simple_xml, url = nil)
     @current_conditions = simple_xml['cc'] ? build_current_conditions(simple_xml['cc'][0]) : nil
@@ -16,6 +18,9 @@ class WeatherManResponse
     @unit_speed       = simple_xml['head'][0]['us'][0]
     @unit_pressure    = simple_xml['head'][0]['up'][0]
     
+    # Capture some location info
+    @local_time = Time.parse(simple_xml['loc'][0]['tm'][0])
+    
     # The api url that was called to generate this response
     @api_url = url
   end</diff>
      <filename>lib/weather_man_response.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,6 +15,10 @@ describe WeatherManResponse, 'built from a default response' do
     @weather.unit_pressure.should eql('in')
   end
   
+  it 'should grab the local time' do
+    @weather.local_time.should == Time.parse('7:17 PM')
+  end
+  
   it 'should build a CurrentConditions object' do
     @weather.current_conditions.should be_kind_of(WeatherManCurrentConditions)
   end</diff>
      <filename>spec/weather_man_response_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 Gem::Specification.new do |s|
   s.name     = &quot;weatherman&quot;
-  s.version  = &quot;0.1.1&quot;
-  s.date     = &quot;2008-09-29&quot;
+  s.version  = &quot;0.1.2&quot;
+  s.date     = &quot;2008-10-03&quot;
   
   s.homepage = &quot;http://github.com/jdpace/weatherman&quot;
   s.summary  = &quot;Ruby gem for accessing the Weather Channel XML API based on rweather.&quot;</diff>
      <filename>weatherman.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>91f16fdc2fcb3a5b4602a320ba3a07a520db29a5</id>
    </parent>
  </parents>
  <author>
    <name>Jared Pace</name>
    <email>jared@codewordstudios.com</email>
  </author>
  <url>http://github.com/jdpace/weatherman/commit/7541bc6445cec385b40a5a6d98309a0dca27efe6</url>
  <id>7541bc6445cec385b40a5a6d98309a0dca27efe6</id>
  <committed-date>2008-10-03T17:52:45-07:00</committed-date>
  <authored-date>2008-10-03T17:52:45-07:00</authored-date>
  <message>Capture the weather locations local time in the response object.</message>
  <tree>15dc4962d43f2fe73d4c3d41325637a590620fed</tree>
  <committer>
    <name>Jared Pace</name>
    <email>jared@codewordstudios.com</email>
  </committer>
</commit>
