From fffe98cc3c9a0c0215700dbf9763393919c584ce Mon Sep 17 00:00:00 2001 From: Roly Gutierrez Date: Wed, 13 Nov 2013 16:20:08 -0400 Subject: [PATCH] =?UTF-8?q?BUG-13538=20SOLVED=20Cuando=20se=20cambia=20la?= =?UTF-8?q?=20configuraci=C3=B3n=20de=20la=20fecha=20por=20defecto=20en=20?= =?UTF-8?q?la=20secci=C3=B3n:=20'ADMIN=20/=20Environment',=20opci=C3=B3n:?= =?UTF-8?q?=20'Regional=20Settings',=20y=20la=20misma=20contiene=20un=20li?= =?UTF-8?q?teral,=20por=20ejemplo:=20=20mes=20o=20d=C3=ADa,=20en=20algunos?= =?UTF-8?q?=20idiomas=20se=20muestran=20caracteres=20extra=C3=B1os=20en=20?= =?UTF-8?q?la=20parte=20superior=20derecha=20de=20ProcessMaker,=20secci?= =?UTF-8?q?=C3=B3n:=20usuario,=20logout,=20workspace=20y=20fecha.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- workflow/engine/classes/class.configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/engine/classes/class.configuration.php b/workflow/engine/classes/class.configuration.php index 5bc5cc9be..52431100c 100755 --- a/workflow/engine/classes/class.configuration.php +++ b/workflow/engine/classes/class.configuration.php @@ -601,8 +601,8 @@ class Configurations // extends Configuration } } - setlocale(LC_TIME, $langLocate); - $dateTime = utf8_encode(strftime($newCreation, mktime($h, $i, $s, $m, $d, $y))); + setlocale(LC_TIME, $langLocate . ".utf8"); + $dateTime = strftime($newCreation, mktime($h, $i, $s, $m, $d, $y)); if (strpos($dateTime, ' ') !== false) { $dateTime = ucwords($dateTime);