mirror of
https://github.com/openharmony/third_party_rust_httpdate.git
synced 2026-07-20 01:53:34 -04:00
Fixes typo "Mai" -> "May"
This commit is contained in:
+4
-4
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user