mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-03 15:38:44 +02:00
Fix for Trac #569: Mandatory date (and time) fields are prefilled with the current date (and time).
SVN:trunk[2483]
This commit is contained in:
@@ -2384,7 +2384,7 @@ class AttributeEnum extends AttributeString
|
||||
*/
|
||||
class AttributeDateTime extends AttributeDBField
|
||||
{
|
||||
static protected function GetDateFormat()
|
||||
static public function GetDateFormat()
|
||||
{
|
||||
return "Y-m-d H:i:s";
|
||||
}
|
||||
@@ -2692,7 +2692,7 @@ class AttributeDate extends AttributeDateTime
|
||||
{
|
||||
const MYDATEFORMAT = "Y-m-d";
|
||||
|
||||
static protected function GetDateFormat()
|
||||
static public function GetDateFormat()
|
||||
{
|
||||
return "Y-m-d";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user