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.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@945118 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2010-05-17 12:47:48 +00:00
parent 5529b36b86
commit 49b018484f
@@ -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>