ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bakker <mailingl...@antwebsystems.com>
Subject Re: svn commit: r730975 - /ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml
Date Sat, 03 Jan 2009 13:26:20 GMT
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


Mime
View raw message