Hello Jorge and Dr. Potur,

yes, this is a bug. I found the bug at the following file:

/include/care_api_classes/class_input_person.php

Please open this file and find the following code at line #625 :

<a href= 
"javascript:show_calendar(\'aufnahmeform.date_birth\',\''.$date_format.'\')">

Please remove the space between the single quote and the \ symbol at the
$date_format.' \')  part. This will solve the problem. I will also upload the 
patched file at the cvs soon.

To those curious about this bug, the space mentioned above "adds" an empty 
character to the date format being passed to the javascript. This falsifies 
the string and the javascript filter code does not recognize the string 
anymore and produces the default format always.

Thanks for bug reporting.

Elpidio

On Saturday 20 November 2004 15:54, Jorge Santos wrote:
> Hello Elpidio
>
> The same it happened with me.  If you serve of the pop up calendar, the
> entered date "only result" if the selection will be in the format
> mm/dd/yyyy. Seems to be one bug but with solution.



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
Care2002-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to