diff options
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r-- | actions/newnotice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php index 50d676eb5..fa7badd3d 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -47,8 +47,8 @@ class NewnoticeAction extends Action { $notice = DB_DataObject::factory('notice'); assert($notice); $notice->profile_id = $user->id; # user id *is* profile id + $notice->created = DB_DataObject_Cast::dateTime(); $notice->content = $this->arg('content'); - $notice->created = date(DATE_RFC822); # current time return $notice->insert(); } |