define(["dojo/_base/lang","../_base","../utils/date"],function(d,e,f){var c=d.getObject("tag.date",!0,e);c.NowNode=function(a,b){this._format=a;this.format=new f.DateFormat(a);this.contents=b};d.extend(c.NowNode,{render:function(a,b){this.contents.set(this.format.format(new Date));return this.contents.render(a,b)},unrender:function(a,b){return this.contents.unrender(a,b)},clone:function(a){return new this.constructor(this._format,this.contents.clone(a))}});c.now=function(a,b){b=b.split_contents();
|