From f701ad3ec838485e665462c4d75a9c82fb5a76fe Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 2 Oct 2009 09:33:07 +0000 Subject: [PATCH] Correct date format git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14470 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../opsi/admin/opsiLicenses/class_licenseGeneric.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc index 5b8d12262..21f5a3f8d 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc +++ b/gosa-plugins/opsi/admin/opsiLicenses/class_licenseGeneric.inc @@ -217,15 +217,15 @@ class licenseGeneric extends plugin // Very simple date input checks if(!empty($this->expirationDate) && !preg_match("/^[0-9]{2}\.[0-9]{2}\.[0-9]{4}$/",$this->expirationDate)){ - $message[] = msgPool::invalid(_("Expiration date"),$this->expirationDate,"","2009-02-23"); + $message[] = msgPool::invalid(_("Expiration date"),$this->expirationDate,"","23.02.2009"); } if(!empty($this->conclusionDate) && !preg_match("/^[0-9]{2}\.[0-9]{2}\.[0-9]{4}$/",$this->conclusionDate)){ - $message[] = msgPool::invalid(_("Expiration date"),$this->conclusionDate,"","2009-02-23"); + $message[] = msgPool::invalid(_("Expiration date"),$this->conclusionDate,"","23.02.2009"); } if(!empty($this->notificationDate) && !preg_match("/^[0-9]{2}\.[0-9]{2}\.[0-9]{4}$/",$this->notificationDate)){ - $message[] = msgPool::invalid(_("Expiration date"),$this->notificationDate,"","2009-02-23"); + $message[] = msgPool::invalid(_("Expiration date"),$this->notificationDate,"","23.02.2009"); } if(empty($this->cn)){ -- 2.30.2