Insert revisions with the utc time too

This commit is contained in:
Latif Khalifa
2013-09-22 05:35:13 +02:00
parent bc51e85f2c
commit 0c27d25de1

View File

@@ -45,7 +45,7 @@ function import_rev(&$existing, $raw, $chan)
$DB->query(
kl_str_sql(
"insert into revs (hash, chan, author, time, message) values (!s, !s, !s, !t, !s)",
$hash, $chan, $author, $date, $msg));
$hash, $chan, $author, $date - date("Z"), $msg));
}