summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2010-12-18 01:14:13 +0100
committerDaniel Friesel <derf@finalrewind.org>2010-12-18 01:14:13 +0100
commitf49442f6f40808ab7c4e4b161beda8e76cc9a1e1 (patch)
treeb0f8f2ba2b63af1c86925b3de6961f4878d06f27 /bin
parent8db494f2b4b077759fe4a651fc3ac5096e03321a (diff)
vzds: Adjust for nerd day rollover
Diffstat (limited to 'bin')
-rwxr-xr-xbin/vzds4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/vzds b/bin/vzds
index 749c3ee..98ef0fb 100755
--- a/bin/vzds
+++ b/bin/vzds
@@ -38,7 +38,9 @@ my $yellow = $im->colorAllocateAlpha(255, 255, 200, $alpha);
my $red = $im->colorAllocateAlpha(255, 191, 191, $alpha);
my $text;
-my $start = time();
+my $start = time() - (3600 * 3);
+# ^^^^^^^^
+# Nerd daychange adjustment (3am makes more sense)
if ($opts{'t'}) {
$start -= $opts{'t'} * (3600 * 24 * 7);