summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-21 23:19:29 -0500
committerEvan Prodromou <evan@status.net>2010-02-21 23:19:29 -0500
commit48839a1fcf0c94b877c7c3232cf3e34eb0a9f23e (patch)
treece64bc3c5cd4a9ea2083bdc45f61cc4b17cf005a
parente39e6cdcc590a5330ab5a20a2519346bfc7965e0 (diff)
change erroneous common_sql_time() to common_sql_date()
-rw-r--r--plugins/OStatus/lib/salmonaction.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/lib/salmonaction.php b/plugins/OStatus/lib/salmonaction.php
index 08bfa332f..b128cbd13 100644
--- a/plugins/OStatus/lib/salmonaction.php
+++ b/plugins/OStatus/lib/salmonaction.php
@@ -202,7 +202,7 @@ class SalmonAction extends Action
}
if (!empty($this->act->time)) {
- $options['created'] = common_sql_time($this->act->time);
+ $options['created'] = common_sql_date($this->act->time);
}
$saved = Notice::saveNew($oprofile->profile_id,