]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
change erroneous common_sql_time() to common_sql_date()
authorEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 04:19:29 +0000 (23:19 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 04:19:29 +0000 (23:19 -0500)
plugins/OStatus/lib/salmonaction.php

index 08bfa332fa1003d29b7698867fb6cb651e90316c..b128cbd13f6aadca2aa9d9c90ad97f9ff3b35f16 100644 (file)
@@ -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,