Author: jleroux
Date: Mon May 17 12:47:48 2010
New Revision: 945118
URL: http://svn.apache.org/viewvc?rev=945118&view=rev
Log:
A patch from Ankit Jain "Incorrect Data Format"
https://issues.apache.org/jira/browse/OFBIZ-3544 - OFBIZ-3544
After login to Ecommerce, go to Profile and update Personal Information. Enter
a valid date for Birth Date and Passport Expire Date (format: yyyy-mm-dd).
Click "Save". Once back to the main screen, click on "Update" again to update
the Personal Information. You will see that the two dates are displayed in
wrong date formats, e.g. "Aug 25, 1972". So, the date is formatted wrongly
somewhere.
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl
Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl?rev=945118&r1=945117&r2=945118&view=diff
==============================================================================
---
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl
(original)
+++
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl
Mon May 17 12:47:48 2010
@@ -97,7 +97,7 @@ under the License.
<tr>
<td align="right">${uiLabelMap.PartyBirthDate}</td>
<td>
- <input type="text" class='inputBox' size="11" maxlength="20"
name="birthDate" value="${personData.birthDate?if_exists}"/>
+ <input type="text" class='inputBox' size="11" maxlength="20"
name="birthDate" value="${(personData.birthDate.toString())?if_exists}"/>
<div class="tabletext">${uiLabelMap.CommonFormatDate}</div>
</td>
</tr>