Skip to content

Commit

Permalink
Even better, use Horde_Mime_Headers_Date::create().
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 7, 2015
1 parent ffdaf4b commit ea21d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/ActiveSync/lib/Horde/ActiveSync/Rfc822.php
Expand Up @@ -185,7 +185,7 @@ public function addStandardHeaders()
}
if (!$headers->getValue('Date')) {
$d = new Horde_Date();
$headers->addHeader('Date', $d->format(DateTime::RFC822));
$headers->addHeaderOb(Horde_Mime_Headers_Date::create());
$updated = true;
}
if ($updated) {
Expand Down

0 comments on commit ea21d7d

Please sign in to comment.