libnokogiri-ruby (1.4.0-4) fix-patch-for-utc-timezone.patch

Summary

 test/test_xslt_transforms.rb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- a/test/test_xslt_transforms.rb
+++ b/test/test_xslt_transforms.rb
@@ -90,7 +90,7 @@ class TestXsltTransforms < Nokogiri::Tes
       assert_equal 'func-result', result_doc.at('/root/function').content
       assert_equal 3, result_doc.at('/root/max').content.to_i
       assert_match(
-        /\d{4}-\d\d-\d\d[-|+]\d\d:\d\d/,
+        /\d{4}-\d\d-\d\d([-|+]\d\d:\d\d)?/,
         result_doc.at('/root/date').content
         )
       result_doc.xpath('/root/params/*').each do  |p|