Skip to content

Commit

Permalink
Merge pull request JetBrains#678 from alister/WI-28946/DATE_COOKIE-de…
Browse files Browse the repository at this point in the history
…finition-is-incorrect

DATE_COOKIE/DateTime::COOKIE definitions are incorrect
  • Loading branch information
andrey-sokolov authored Oct 15, 2019
2 parents dff3564 + d9aafe9 commit 5c03ec3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion date/date_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

interface DateTimeInterface {
const ATOM = 'Y-m-d\TH:i:sP';
const COOKIE = 'l, d-M-y H:i:s T';
const COOKIE = 'l, d-M-Y H:i:s T';
const ISO8601 = 'Y-m-d\TH:i:sO';
const RFC822 = 'D, d M y H:i:s O';
const RFC850 = 'l, d-M-y H:i:s T';
Expand Down
2 changes: 1 addition & 1 deletion date/date_d.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Start of date v.5.3.2-0.dotdeb.1

define ('DATE_ATOM', "Y-m-d\TH:i:sP");
define ('DATE_COOKIE', "l, d-M-y H:i:s T");
define ('DATE_COOKIE', "l, d-M-Y H:i:s T");
define ('DATE_ISO8601', "Y-m-d\TH:i:sO");
define ('DATE_RFC822', "D, d M y H:i:s O");
define ('DATE_RFC850', "l, d-M-y H:i:s T");
Expand Down
6 changes: 0 additions & 6 deletions tests/TestData/mutedProblems.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,6 @@
"wrong value"
]
},
{
"name": "DATE_COOKIE",
"problems": [
"wrong value"
]
},
{
"name": "LIBXML_VERSION",
"problems": [
Expand Down

0 comments on commit 5c03ec3

Please sign in to comment.