]> git.saurik.com Git - apt.git/blobdiff - methods/http.cc
* merge of the debian-expermental-ma branch
[apt.git] / methods / http.cc
index 3e2227f2b2e29366d6ad84ccf2cfca750fe44289..9fa74bffabff5362adaad277d6eec7d40e2650a4 100644 (file)
@@ -631,7 +631,7 @@ bool ServerState::HeaderLine(string Line)
    
    if (stringcasecmp(Tag,"Last-Modified:") == 0)
    {
-      if (StrToTime(Val,Date) == false)
+      if (RFC1123StrToTime(Val.c_str(), Date) == false)
         return _error->Error(_("Unknown date format"));
       return true;
    }