Store time in UTC

This commit is contained in:
Latif Khalifa
2013-09-22 05:28:48 +02:00
parent d4dff48c29
commit bc51e85f2c
2 changed files with 2 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ function add_build($build, $chan, $version, $hash)
if ($row["c"] === "0") {
$DB->query(kl_str_sql("insert into builds (nr, chan, version, hash, modified) ".
"values (!i, !s, !s, !s, !t)",
$build, $chan, $version, $hash, time()));
$build, $chan, $version, $hash, time() - date("Z")));
}
}