Author: jleroux
Date: Mon May 17 12:55:51 2010
New Revision: 945123
URL:
http://svn.apache.org/viewvc?rev=945123&view=revLog:
"Applied fix from trunk for revision: 945118 "
------------------------------------------------------------------------
r945118 | jleroux | 2010-05-17 14:47:48 +0200 (lun. 17 mai 2010) | 3 lignes
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/branches/release10.04/ (props changed)
ofbiz/branches/release10.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl
Propchange: ofbiz/branches/release10.04/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon May 17 12:55:51 2010
@@ -1,3 +1,3 @@
/ofbiz/branches/addbirt:831210-885099,885686-886087
/ofbiz/branches/multitenant20100310:921280-927264
-/ofbiz/trunk:939988,939990,939999,940025,940053,940234,940248,940309,940401,940410,940425,940779,940815,940849,941007,941047,941109,941177,941199,941261,941440,941600,941999,942084,942406,942414,942671,942883-942884,943168,943271-943272,944614,944621,944623,944647,944669,944797,944895,945010,945018,945026
+/ofbiz/trunk:939988,939990,939999,940025,940053,940234,940248,940309,940401,940410,940425,940779,940815,940849,941007,941047,941109,941177,941199,941261,941440,941600,941999,942084,942406,942414,942671,942883-942884,943168,943271-943272,944614,944621,944623,944647,944669,944797,944895,945010,945018,945026,945118
Modified: ofbiz/branches/release10.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl?rev=945123&r1=945122&r2=945123&view=diff==============================================================================
--- ofbiz/branches/release10.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl (original)
+++ ofbiz/branches/release10.04/specialpurpose/ecommerce/webapp/ecommerce/customer/editperson.ftl Mon May 17 12:55:51 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>