From: cajus Date: Fri, 2 Oct 2009 09:33:07 +0000 (+0000) Subject: Correct date format X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f701ad3ec838485e665462c4d75a9c82fb5a76fe;p=gosa.git Correct date format git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14470 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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)){