From d927b1e9a4646441ea99693c5a77929a8a56671d Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 27 Jun 2006 07:57:08 +0000 Subject: [PATCH] i18n for date/time git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3926 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_SnapShotDialog.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class_SnapShotDialog.inc b/include/class_SnapShotDialog.inc index 2a56ee27f..34967053c 100755 --- a/include/class_SnapShotDialog.inc +++ b/include/class_SnapShotDialog.inc @@ -106,7 +106,7 @@ class SnapShotDialog extends plugin $actions.= " "; - $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"))); -- 2.30.2