spec/datet_spec.rb in datet-0.0.23 vs spec/datet_spec.rb in datet-0.0.24
- old
+ new
@@ -561,7 +561,10 @@
end
it "should handle a format form mssql" do
datet = Datet.in("2010-10-31T18:21:45.8770000")
datet.dbstr.should eql("2010-10-31 18:21:45")
+
+ datet = Datet.in("2010-10-31T18:21:45Z")
+ datet.dbstr.should eql("2010-10-31 18:21:45")
end
end
\ No newline at end of file