Merge pull request #3338 from annando/issue-3336
Issue 3336: The date format should now be okay
This commit is contained in:
commit
ad53764832
|
@ -2096,7 +2096,7 @@ function update_gcontact($contact) {
|
||||||
fix_alternate_contact_address($contact);
|
fix_alternate_contact_address($contact);
|
||||||
|
|
||||||
if (!isset($contact["updated"]))
|
if (!isset($contact["updated"]))
|
||||||
$contact["updated"] = datetime_convert();
|
$contact["updated"] = dbm::date();
|
||||||
|
|
||||||
if ($contact["server_url"] == "") {
|
if ($contact["server_url"] == "") {
|
||||||
$server_url = $contact["url"];
|
$server_url = $contact["url"];
|
||||||
|
@ -2151,7 +2151,7 @@ function update_gcontact($contact) {
|
||||||
dbesc($contact["gender"]), dbesc($contact["keywords"]), intval($contact["hide"]),
|
dbesc($contact["gender"]), dbesc($contact["keywords"]), intval($contact["hide"]),
|
||||||
intval($contact["nsfw"]), intval($contact["contact-type"]), dbesc($contact["alias"]),
|
intval($contact["nsfw"]), intval($contact["contact-type"]), dbesc($contact["alias"]),
|
||||||
dbesc($contact["notify"]), dbesc($contact["url"]), dbesc($contact["location"]),
|
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($contact["server_url"]), dbesc($contact["connect"]),
|
||||||
dbesc(normalise_link($contact["url"])), intval($contact["generation"]));
|
dbesc(normalise_link($contact["url"])), intval($contact["generation"]));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue