Author: sevein
Date: Tue Aug 21 16:14:01 2012
New Revision: 12153

Log:
Use format() instead of format_date() since that property is returning now a 
DateTime object for some reason that I do not know

Modified:
   
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/depositSuccess.xml.php

Modified: 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/depositSuccess.xml.php
==============================================================================
--- 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/depositSuccess.xml.php
  Tue Aug 21 12:47:37 2012        (r12152)
+++ 
trunk/plugins/qtSwordPlugin/modules/qtSwordPlugin/templates/depositSuccess.xml.php
  Tue Aug 21 16:14:01 2012        (r12153)
@@ -5,9 +5,9 @@
 
   <title><?php echo render_title($informationObject, false) ?></title>
 
-  <id><?php echo $informationObject->id.' / ' . 
format_date($informationObject->createdAt, 's') ?></id>
+  <id><?php echo $informationObject->id.' / ' . 
$informationObject->createdAt->format('c') ?></id>
 
-  <updated><?php echo format_date($informationObject->createdAt, 's') 
?></updated>
+  <updated><?php echo $informationObject->createdAt->format('c') ?></updated>
 
   <author>
     <name><?php echo $user->user ?></name>

-- 
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