From 7e3a927e6b7e1a63bc16b9c74eb931dc3eb6a983 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 17 Feb 2010 16:30:41 -0800 Subject: fixing scalar scanner for dates with timezone like "-08:00". thanks Peter McLain! --- test/test_scalar_scanner.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/test_scalar_scanner.rb b/test/test_scalar_scanner.rb index 483fa21..eaf6c6e 100644 --- a/test/test_scalar_scanner.rb +++ b/test/test_scalar_scanner.rb @@ -6,6 +6,7 @@ class TestScalarScanner < MiniTest::Unit::TestCase [ '2001-12-15T02:59:43.1Z', '2001-12-14t21:59:43.10-05:00', '2001-12-14 21:59:43.10 -5', + '2010-01-06 00:00:00 -08:00', '2001-12-15 2:59:43.10', ].each do |time| ss = Psych::ScalarScanner.new -- cgit v1.2.3