You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2009/01/03 16:50:00 UTC

Re: svn commit: r730975 -/ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml

You are right Hans,

It's a timestamp, WebSiteServices.xml was wrong before
Fixed in revision 731005.

Thanks

Jacques

From: "Hans Bakker" <ma...@antwebsystems.com>
> Jacques....please have a look at the entity WebsiteContent is that a
> "date" or a "timestamp" for the field fromDate?
>
> Regards,
> Hans
>
>
> On Sat, 2009-01-03 at 11:28 +0000, jleroux@apache.org wrote:
>> Author: jleroux
>> Date: Sat Jan  3 03:28:40 2009
>> New Revision: 730975
>>
>> URL: http://svn.apache.org/viewvc?rev=730975&view=rev
>> Log:
>> Revert to now-date-to-env (was commited r730962) since it generates a Date not a Timestamp
>>
>> Modified:
>>     ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml
>>
>> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml
>> URL: 
>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml?rev=730975&r1=730974&r2=730975&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml (original)
>> +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml Sat Jan  3 03:28:40 2009
>> @@ -48,7 +48,7 @@
>>          <set-pk-fields value-field="newEntity" map="parameters"/>
>>          <set-nonpk-fields value-field="newEntity" map="parameters"/>
>>          <if-empty field="newEntity.fromDate">
>> -            <now-timestamp field="nowTimestamp"/>
>> +            <now-date-to-env field="nowTimestamp"/>
>>              <set field="newEntity.fromDate" from-field="nowTimestamp"/>
>>          </if-empty>
>>          <create-value value-field="newEntity"/>
>>
>>
> -- 
> Antwebsystems.com: Quality OFBiz services for competitive prices
>