days are now calculated according to specified site-timezone by using global formatTimestamp()

This commit is contained in:
Robert Gaggl 2002-10-31 21:12:28 +00:00
parent f1b713b344
commit 44369d2c33
2 changed files with 6 additions and 3 deletions

View file

@ -49,7 +49,8 @@ function evalStory(param,modifier) {
result = getError("timestampParse",param.createtime);
else if (ctime.value != this.createtime) {
this.createtime = ctime.value;
this.day = this.createtime.format("yyyyMMdd");
// create day of story with respect to site-timezone
this.day = formatTimestamp(this.createtime,"yyyyMMdd");
}
}
// check name of topic (if specified)