]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix approval date and label on apps list
authorZach Copley <zach@status.net>
Wed, 13 Jan 2010 18:33:13 +0000 (18:33 +0000)
committerZach Copley <zach@status.net>
Mon, 25 Jan 2010 00:36:05 +0000 (16:36 -0800)
lib/applicationlist.php

index f2eaefb401976a7588b9e73ae43ddeaecfa8113f..6eae2613531fbc6ca3d736f00d3fc4bdadaec99e 100644 (file)
@@ -136,8 +136,8 @@ class ApplicationList extends Widget
             $access = ($this->application->access_type & Oauth_application::$writeAccess)
               ? 'read-write' : 'read-only';
 
-            $txt = 'Approved ' . common_exact_date($appUser->modified) .
-              " $access for access.";
+            $txt = 'Approved ' . common_date_string($appUser->modified) .
+              " - $access access.";
 
             $this->out->raw($txt);
             $this->out->elementEnd('li');