Contourner la limitation de Timestamp ?
Bonjour,
j'ai un problème de limite de Timestamp dans Joomla.
Je dois remonter dans les années 1800 et je suis bloqué au 13 Décembre 1901.
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| 1. file "components/com_content/models/article.php" -----
$article->created = gmdate('Y-m-d H:i:s');
...
$article->modified = gmdate('Y-m-d H:i:s');
---------------------------------------------------------
2. file "administrator/components/com_content/controller.php" -----
$createdate =& JFactory::getDate();
...
$row->created = $createdate->toUnix();
---------------------------------------------------------
3. The same file
"administrator/components/com_content/controller.php" -----
$config =& JFactory::getConfig();
$tzoffset = $config->getValue('config.offset');
$date =& JFactory::getDate($row->created, $tzoffset);
$row->created = $date->toMySQL();
--------------------------------------------------------- |
On me dit qu'il n'y aurait plus de limitation si le type de données défini était Datetime...
Comment faire ?