Trouble with times within countries

Hi,
I’m having trouble with managing times between Spain and Portugal. This is the case:

If users execute Servoy under Spanish language, everything works fine.
If users start using the Portuguese language, Servoy raises an error.

The code that raises the error is the following one (where globals.age__fechaSeleccionada is a datetime global variable):

if (controller.find())
{
fechacitasinhora_cl = utils.dateFormat(globals.age__fechaSeleccionada,‘dd/MM/yyyy HH:mm’)
controller.search()
}

The error I get on Servoy’s server log is:
2011-04-14 13:38 || AWT-EventQueue-0 || INFO || com.servoy.j2db.util.Debug || Cannot parse 14/04/2011 00:00 using format dd-MM-yyyy H:mm
Is Servoy trying to use a default timezone and format because users are using the Portuguese language??
Thanks in advance for your help,
Miguel.-

is the error really generated in this call:

utils.dateFormat(globals.age__fechaSeleccionada,‘dd/MM/yyyy HH:mm’)

that looks very weird to me, because parsing is String to Date, Date to String what you do is formatting.

Is it not just the input the user does in the field that generates that warning? Does it get red when you fill something in?
Do you have a date format set on that field? or do you use the default?