Index: lib/rubygems/specification.rb
===================================================================
--- lib/rubygems/specification.rb	(revision 33692)
+++ lib/rubygems/specification.rb	(working copy)
@@ -984,7 +984,7 @@
     # way to do it.
     @date = case date
             when String then
-              if /\A(\d{4})-(\d{2})-(\d{2})\Z/ =~ date then
+              if /\A(\d{4})-(\d{2})-(\d{2})/ =~ date then
                 Time.utc($1.to_i, $2.to_i, $3.to_i)
               else
                 raise(Gem::InvalidSpecificationException,
