cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect Date Format for Spanish Language

madcaddie
Champ in-the-making
Champ in-the-making
Hi everyone!!!

In Alfresco Explorer (Alfresco-Labs-3Stable) the date fields of the content (in the properties sheet), appears correctly in English (for example: “29 March 2010”), but when I enter in Alfresco Explorer using other language (I’ve try Spanish by now), the dates are displayed with a strange format (as: “29 03 AM”), and I need that it appears with the same format used in English (or at least to display the year).

I think that maybe is related with the files of the language pack, but I haven’t been able to detect anything wrong with these files. In both cases, English and Spanish, when I acces to the edit properties page (from the properties sheet) the date displayed in the combos is correct.

Any idea about what is happening???

Thx.
Xavi
1 REPLY 1

madcaddie
Champ in-the-making
Champ in-the-making
Finally I’ve found the error, I post the solution if anyone has the same problem:

Check the ‘webclient_es_ES.properties’ and verify the ‘date_pattern’ and the ‘date_time_pattern’ values. I have checked the Spanish Language Pack and these patterns are incorrectly defined, they appear as:

date_pattern=dd MM aaaa
date_time_pattern=dd MM aaaa HH:mm


Instead of (the correctly formated patterns):

date_pattern=dd MM yyyy
date_time_pattern=dd MM yyyy HH:mm


See ya