[CAT} force timestamp to be utc
这个提交包含在:
父节点
ed56211e93
当前提交
c9047ae0e2
共有 1 个文件被更改,包括 2 次插入 和 1 次删除
|
|
@ -7,7 +7,8 @@
|
||||||
if ($result['timestamp'] != "") {
|
if ($result['timestamp'] != "") {
|
||||||
$timestamp = $result['timestamp'];
|
$timestamp = $result['timestamp'];
|
||||||
} else {
|
} else {
|
||||||
$timestamp = date("Y-m-d H:i:s");
|
$given->setTimezone(new DateTimeZone("UTC"));
|
||||||
|
$timestamp = $given->format("Y-m-d H:i:s");
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->db->where('radio', $result['radio']);
|
$this->db->where('radio', $result['radio']);
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用