HttpTime: don't try to parse timezone
* Cookies sometimes come with the UTC timezone, or no tz info at all. * No other timezone seems to be used This allows better matching of cookies which would otherwise be kept only as session cookies.
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
|
||||
|
||||
static const char* kDateFormats[] = {
|
||||
"%a, %d %b %Y %H:%M:%S GMT",
|
||||
"%a, %d-%b-%Y %H:%M:%S GMT",
|
||||
"%A, %d-%b-%y %H:%M:%S GMT",
|
||||
"%a, %d %b %Y %H:%M:%S",
|
||||
"%a, %d-%b-%Y %H:%M:%S",
|
||||
"%A, %d-%b-%y %H:%M:%S",
|
||||
"%a %d %b %H:%M:%S %Y"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user