v8.4.9 : Libellé type Date

This commit is contained in:
fredtempez 2018-11-28 15:32:22 +01:00
parent 5a20d0a9f2
commit da4167c762

View File

@ -38,7 +38,7 @@ class form extends common {
self::TYPE_TEXTAREA => 'Grand champ texte',
self::TYPE_MAIL => 'Champ mail',
self::TYPE_SELECT => 'Sélection',
self::TYPE_DATETIME => 'Sélection date'
self::TYPE_DATETIME => 'Date'
];
/**
@ -181,8 +181,8 @@ class form extends common {
case self::TYPE_TEXTAREA:
$filter = helper::FILTER_STRING_LONG;
break;
case self::TYPE_DATETIME:
$filter = helper::FILTER_STRING_SHORT;
case self::TYPE_DATETIME:
$filter = helper::FILTER_STRING_SHORT; // Mettre TYPE_DATETIME pour récupérer un TIMESTAMP
break;
default:
$filter = helper::FILTER_STRING_SHORT;