cancel
Showing results for 
Search instead for 
Did you mean: 

3.4.d - Share - search - formatDate (english vs spanish)

cmarguello
Champ in-the-making
Champ in-the-making
Hello.

I have an installation of alfrseco-3.4.d
In alfresco share, after a search

In an browser in spanish the date format is wrong
…Modificado el 06/43/2011 17:43:58
in the month, alfresco shows the minutes
alfresco-share-search_es.jpg

In english its ok
…modified on 06/Oct/2011 19:43:58
alfresco-share-search_en.jpg

i found in search.js that it use
in funcition renderCellDescription


desc += ' ' + me.msg("message.modifiedon") + ' <span class="meta">' + Alfresco.util.formatDate(oRecord.getData("modifiedOn")) + '</span>';



in alfresco.js i found the implementacion of the funtion

Alfresco.util.formatDate = function(date)
{
   try
   {
      return Alfresco.thirdparty.dateFormat.apply(this, arguments);
   }
   catch(e)
   {
      return date;
   }
};


But i dont know where the format is configured for this.
is this in a properties file? which one?


Thanks
1 REPLY 1

cmarguello
Champ in-the-making
Champ in-the-making
Anyone knows how to solve this?
any one have the same problem?

Thanks