Ups, tuve el mismo fallo que tú, no estaba concentrado.
Prueba ahora:
Código Javascript
:
Ver originalfunction mostrarFecha(tiempo){
var fecha = new Date(tiempo || +new Date()), str = '';
var equiv = {
dias : ['domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'],
meses : ['enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'];
};
str += equiv.dias[fecha.getDay()] + ', ' + fecha.getDate() + ' de ';
str += equiv.meses[fecha.getMonth()] + ' de ' + fecha.getFullYear();
str += ', ' + fecha.getHours() + ':' + fecha.getMinutes() + fecha.getSeconds();
return str;
}