includes/namespaces/file.php
changeset 1081 745200a9cc2a
parent 953 323c4cd1aa37
child 1114 4f4d63a281cd
--- a/includes/namespaces/file.php	Wed Aug 19 01:28:47 2009 -0400
+++ b/includes/namespaces/file.php	Thu Aug 20 20:01:55 2009 -0400
@@ -2,8 +2,7 @@
 
 /*
  * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between
- * Version 1.1.6 (Caoineag beta 1)
- * Copyright (C) 2006-2008 Dan Fuhry
+ * Copyright (C) 2006-2009 Dan Fuhry
  *
  * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
@@ -70,7 +69,7 @@
     }
     $r = $db->fetchrow();
     $mimetype = $r['mimetype'];
-    $datestring = enano_date('F d, Y h:i a', (int)$r['time_id']);
+    $datestring = enano_date(ED_DATE | ED_TIME, (int)$r['time_id']);
     $html .= '<div class="mdg-comment" style="margin-left: 0;">
             <h3>' . $lang->get('onpage_filebox_heading') . '</h3>
             <p>' . $lang->get('onpage_filebox_lbl_type') . ' '.$r['mimetype'].'<br />';