days are now calculated according to specified site-timezone by using global formatTimestamp()
This commit is contained in:
parent
f1b713b344
commit
44369d2c33
2 changed files with 6 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue