Code

i18n for date/time
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 07:57:08 +0000 (07:57 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Jun 2006 07:57:08 +0000 (07:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3926 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_SnapShotDialog.inc

index 2a56ee27fb214f768b60ebf58ad1e00fc3e736a0..34967053c52776f40c16b815cc06837ba808542e 100755 (executable)
@@ -106,7 +106,7 @@ class SnapShotDialog extends plugin
                                $actions.= "<input type='image' src='images/edittrash.png' name='RemoveSnapShot_%KEY' 
                                                                class='center' title='"._("Remove snapshot")."'>&nbsp;";
 
-                               $time_stamp     = date("d.m.Y H.i.s",preg_replace("/\-.*$/","",$entry['gosaSnapshotTimestamp'][0]));
+                               $time_stamp     = date(_("Y-m-d, H:i:s"),preg_replace("/\-.*$/","",$entry['gosaSnapshotTimestamp'][0]));
                                $display_data   = $entry['description'][0];
 
                                if($this->display_all_removed_objects){
@@ -126,7 +126,7 @@ class SnapShotDialog extends plugin
 
                $smarty->assign("restore_deleted",$this->display_all_removed_objects);
                $smarty->assign("RestoreMode",$this->display_restore_dialog);
-               $smarty->assign("CurrentDate",date("d.m.Y H:i"));
+               $smarty->assign("CurrentDate",date(_("Y-m-d, H:i:s")));
                $smarty->assign("CurrentDN",$this->dn);
                $smarty->assign("CurrentDescription",$this->CurrentDescription);
                return($smarty->fetch(get_template_path("snapshotdialog.tpl")));