diff options
author | Daniel Friesel <derf@finalrewind.org> | 2010-12-18 01:14:13 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2010-12-18 01:14:13 +0100 |
commit | f49442f6f40808ab7c4e4b161beda8e76cc9a1e1 (patch) | |
tree | b0f8f2ba2b63af1c86925b3de6961f4878d06f27 /bin/vzds | |
parent | 8db494f2b4b077759fe4a651fc3ac5096e03321a (diff) |
vzds: Adjust for nerd day rollover
Diffstat (limited to 'bin/vzds')
-rwxr-xr-x | bin/vzds | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |