Fixed input of custom date in Story editor

This commit is contained in:
Tobi Schäfer 2008-05-09 20:44:45 +00:00
parent a681b09c78
commit 9c6159a636

View file

@ -355,7 +355,7 @@ Story.prototype.createtime_macro = function(param) {
} else {
param.value = formatDate(new Date(), "yyyy-MM-dd HH:mm");
}
param.name = "createtime";
param.name = "created";
html.input(param);
} else if (this.created) {
var text = formatDate(this.created, param.format);