Commit 97ce2036 authored by Simon Welsh's avatar Simon Welsh

Say everything is in UTC

parent ed685a22
...@@ -76,7 +76,7 @@ function build_dates() { ...@@ -76,7 +76,7 @@ function build_dates() {
$td = date('j'); $td = date('j');
if(isset($dates[$ty][$tm][$td])) { if(isset($dates[$ty][$tm][$td])) {
$r->set('log:dates', $dates); $r->set('log:dates', $dates);
$d = new DateTime('midnight tomorrow', new DateTimeZone('Australia/Canberra')); $d = new DateTime('midnight tomorrow', new DateTimeZone('UTC'));
$r->expireAt('log:dates', $d->format('U')); $r->expireAt('log:dates', $d->format('U'));
} }
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class :logs:timezone extends :x:element { class :logs:timezone extends :x:element {
protected function render() { protected function render() {
return <p> return <p>
All timestamps are in AET (<a href="http://time.is/Canberra" title="Click here to see what time it is right now in Canberra, Australia">Australian Eastern Time</a>). All timestamps are in <a href="http://time.is/UTC" title="Click here to see what time it is right now in UTC">UTC</a>.
</p>; </p>;
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment