Skip to content

Commit 6f48b7d

Browse files
committed
Convert existing value to Date
1 parent 306f6bc commit 6f48b7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/WebApp/DataModel/Log.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class Log {
66

77
public function __construct() {
88
if (is_string($this->log_text)) $this->log_text = json_decode($this->log_text);
9+
if (is_string($this->log_date)) $this->log_date = new \TgUtils\Date($this->log_date, WFW_TIMEZONE);
910
}
1011

1112
public function asText() {

0 commit comments

Comments
 (0)