Hi!

When I create or retrieve a bean object, set date fields and call save() twice the
date fields are changed to an invalid format. This results in a default 2001-01-01
date in the database. (Save twice happens when a bean has related beans that
I need to make calculations on)

Our users are set up with date format of DD.MM.YYYY.

After checking the code in the bean->save() method I found out that the date format
is converted before save, but obviously not converted back to the format that the user
sees.

I have also experienced a similar problem when converting floats to and from formats when
calling save(). Eg. 10.20 and 10,20. In this case 10.20 is saved as 1020.

That SugarCRM supports different formats for dates and numbers is fine. But it is
MADNESS to use theese formattings in the code when customizing Sugar. This should
be transparent for the developer and only converted for the GUI part of the system.



Version 5.1.0a (Build 4837)