<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -52,7 +52,14 @@ class EntityTime::ResponderTest &lt; Test::Unit::TestCase
     assert_equal('urn:xmpp:time', reply[0].namespace)
 
     assert(reply[0].elements[&quot;utc&quot;].has_text?, &quot;element must have a utc time (actual time should be check here)&quot;)
-    assert_equal('-04:00', reply[0].elements[&quot;tzo&quot;].text, &quot;element should have a tzo of -04:00 (if you're testing in EST)&quot;)
+
+    tmp = Time.now
+    local_offset = Time.now.utc_offset
+    hour_offset = local_offset / 3600
+    min_offset = local_offset % 60
+    offset = &quot;%+03d:%02d&quot;%[hour_offset, min_offset]
+
+    assert_equal(offset, reply[0].elements[&quot;tzo&quot;].text, &quot;element should has an incorrect time zone offset&quot;)
   end
 
 end</diff>
      <filename>test/entity_time/tc_responder.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>be2aa823bc4a0adc611f2eedc621c64310edcdb4</id>
    </parent>
  </parents>
  <author>
    <name>Erick Johnson</name>
    <email>erick@junctionnetworks.com</email>
  </author>
  <url>http://github.com/ln/xmpp4r/commit/defbf9bb0f8674a1de9d1b82bb111b801f6c6503</url>
  <id>defbf9bb0f8674a1de9d1b82bb111b801f6c6503</id>
  <committed-date>2009-07-02T15:09:33-07:00</committed-date>
  <authored-date>2009-07-02T15:09:33-07:00</authored-date>
  <message>fixed a test/entity_time/tc_responder to expect a value in the local timezone</message>
  <tree>55eb9d56417094fa7e7cde4c7367db17496a45f0</tree>
  <committer>
    <name>Erick Johnson</name>
    <email>erick@junctionnetworks.com</email>
  </committer>
</commit>
