]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.cc
cleanup the debian/rules file a bit
[apt.git] / apt-pkg / acquire-method.cc
index 6e021a445709233553c27450e0b869f454662729..17d52cf518b6c4f81c42706e8d30873dd7854946 100644 (file)
@@ -378,7 +378,7 @@ int pkgAcqMethod::Run(bool Single)
            
            Tmp->Uri = LookupTag(Message,"URI");
            Tmp->DestFile = LookupTag(Message,"FileName");
-           if (StrToTime(LookupTag(Message,"Last-Modified"),Tmp->LastModified) == false)
+           if (RFC1123StrToTime(LookupTag(Message,"Last-Modified").c_str(),Tmp->LastModified) == false)
               Tmp->LastModified = 0;
            Tmp->IndexFile = StringToBool(LookupTag(Message,"Index-File"),false);
            Tmp->FailIgnore = StringToBool(LookupTag(Message,"Fail-Ignore"),false);