Fixes typo "Mai" -> "May"

This commit is contained in:
Paul Colomiets
2018-05-02 18:19:40 +03:00
parent edb34d01ed
commit 5deecd8b29
+4 -4
View File
@@ -178,7 +178,7 @@ impl Display for HttpDate {
2 => b"Feb",
3 => b"Mar",
4 => b"Apr",
5 => b"Mai",
5 => b"May",
6 => b"Jun",
7 => b"Jul",
8 => b"Aug",
@@ -253,7 +253,7 @@ fn parse_imf_fixdate(s: &[u8]) -> Result<HttpDate, Error> {
b" Feb " => 2,
b" Mar " => 3,
b" Apr " => 4,
b" Mai " => 5,
b" May " => 5,
b" Jun " => 6,
b" Jul " => 7,
b" Aug " => 8,
@@ -316,7 +316,7 @@ fn parse_rfc850_date(s: &[u8]) -> Result<HttpDate, Error> {
b"-Feb-" => 2,
b"-Mar-" => 3,
b"-Apr-" => 4,
b"-Mai-" => 5,
b"-May-" => 5,
b"-Jun-" => 6,
b"-Jul-" => 7,
b"-Aug-" => 8,
@@ -354,7 +354,7 @@ fn parse_asctime(s: &[u8]) -> Result<HttpDate, Error> {
b"Feb " => 2,
b"Mar " => 3,
b"Apr " => 4,
b"Mai " => 5,
b"May " => 5,
b"Jun " => 6,
b"Jul " => 7,
b"Aug " => 8,