mirror of
https://github.com/typecho/typecho.git
synced 2025-03-19 01:19:40 +01:00
fix #532
This commit is contained in:
parent
325f0e3486
commit
43f3e686c6
@ -805,7 +805,7 @@ class Widget_Archive extends Widget_Abstract_Contents
|
||||
/** 获取起始GMT时间的unix时间戳 */
|
||||
$from = mktime(0, 0, 0, $fromMonth, $fromDay, $year) - $this->options->timezone + $this->options->serverTimezone;
|
||||
$to = mktime(23, 59, 59, $toMonth, $toDay, $year) - $this->options->timezone + $this->options->serverTimezone;
|
||||
$select->where('table.contents.created > ? AND table.contents.created < ?', $from, $to);
|
||||
$select->where('table.contents.created >= ? AND table.contents.created < ?', $from, $to);
|
||||
}
|
||||
|
||||
/** 保存密码至cookie */
|
||||
|
Loading…
x
Reference in New Issue
Block a user