Author: jablko
Date: Thu Oct 28 03:05:04 2010
New Revision: 8624

Log:
Use format_date()

Modified:
   trunk/apps/qubit/modules/digitalobject/templates/_metadata.php

Modified: trunk/apps/qubit/modules/digitalobject/templates/_metadata.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/templates/_metadata.php      Thu Oct 
28 03:04:26 2010        (r8623)
+++ trunk/apps/qubit/modules/digitalobject/templates/_metadata.php      Thu Oct 
28 03:05:04 2010        (r8624)
@@ -1,3 +1,5 @@
+<?php use_helper('Date') ?>
+
 <div class="section">
 
   <?php echo link_to_if(SecurityPriviliges::editCredentials($sf_user, 
'informationObject'), '<h2>'.__('Digital object metadata').'</h2>', 
array($resource, 'module' => 'digitalobject', 'action' => 'edit'), 
array('title' => __('Edit digital object'))) ?>
@@ -20,6 +22,6 @@
 
   <?php echo render_show(__('Filesize'), hr_filesize($resource->byteSize)) ?>
 
-  <?php echo render_show(__('Uploaded'), $resource->createdAt) ?>
+  <?php echo render_show(__('Uploaded'), format_date($resource->createdAt), 
'f') ?>
 
 </div>

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to