Pluf Framework

Sign in or create your account | Project List | Help

Issue 374: Utilisation de strptime() qui n'est pas implémenté partout

Reported by Vincent Voyer, Jan 6, 2010

Hello, j'ai eu cette erreur :

Fatal error: Call to undefined function strptime() in 
**\pluf\src\Pluf\Form\Field\Datetime.php on line 44

En effet, sous windows (http://bugs.php.net/bug.php?id=36067) et mac 
aussi parfois cette fonction n'est pas implémentée. Vous allez me 
dire, pourquoi je développe sous windows ! Et biennn .. Si on ne 
peut résoudre ce bug, je changerais :)

Comment 1 by Loïc d'Anterroches, Jan 20, 2010

Oups, je ne savais pas du tout. Il suffit de copier/coller la 
fonction proposée ici :
http://www.php.net/manual/en/function.strptime.php#86572
dans ton fichier de configuration de ton projet Pluf et cela 
fonctionnera.
Status: Fixed

Created: 7 months 27 days ago by Vincent Voyer

Updated: 7 months 13 days ago

Status: Fixed

Followed by: 1 person

Labels:
Priority:Medium
Type:Defect