diff --git a/NOTICE b/NOTICE index 1c4597ec10..b65173f30e 100644 --- a/NOTICE +++ b/NOTICE @@ -4,7 +4,7 @@ ========================================================================= The Apache Open For Business Project (Apache OFBiz) -Copyright 2001-2010 The Apache Software Foundation +Copyright 2001-2011 The Apache Software Foundation ========================================================================= == Apache General Notice (Covers OFBiz and all ASF libraries) == diff --git a/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java b/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java index 1de563f0b6..1a6b6a6374 100644 --- a/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java +++ b/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java @@ -18,7 +18,12 @@ *******************************************************************************/ package org.ofbiz.entity.model; +import java.util.Calendar; +import java.util.Locale; +import java.util.TimeZone; + import org.ofbiz.base.util.StringUtil; +import org.ofbiz.base.util.UtilDateTime; import org.ofbiz.base.util.UtilXml; import org.w3c.dom.Element; @@ -65,7 +70,7 @@ public class ModelInfo { @Override public String getAuthor() { return "None"; } @Override - public String getCopyright() { return "Copyright 2001-2009 The Apache Software Foundation"; } + public String getCopyright() { int year = UtilDateTime.getYear(UtilDateTime.nowTimestamp(), TimeZone.getDefault(), Locale.getDefault()); return "Copyright 2001-" + year + " The Apache Software Foundation"; } @Override public String getVersion() { return "1.0"; } @Override