From: Michael Date: Thu, 13 Apr 2017 19:25:00 +0000 (+0000) Subject: Issue 3336: The date format should now be okay X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=319284c66588296cfc199e97db8b14d562168587;p=friendica.git Issue 3336: The date format should now be okay --- diff --git a/include/socgraph.php b/include/socgraph.php index 642d03d891..66533e1511 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -2096,7 +2096,7 @@ function update_gcontact($contact) { fix_alternate_contact_address($contact); if (!isset($contact["updated"])) - $contact["updated"] = datetime_convert(); + $contact["updated"] = dbm::date(); if ($contact["server_url"] == "") { $server_url = $contact["url"]; @@ -2151,7 +2151,7 @@ function update_gcontact($contact) { dbesc($contact["gender"]), dbesc($contact["keywords"]), intval($contact["hide"]), intval($contact["nsfw"]), intval($contact["contact-type"]), dbesc($contact["alias"]), dbesc($contact["notify"]), dbesc($contact["url"]), dbesc($contact["location"]), - dbesc($contact["about"]), intval($contact["generation"]), dbesc($contact["updated"]), + dbesc($contact["about"]), intval($contact["generation"]), dbesc(dbm::date($contact["updated"])), dbesc($contact["server_url"]), dbesc($contact["connect"]), dbesc(normalise_link($contact["url"])), intval($contact["generation"]));