summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Bot/Games/Game.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm
index 137d8ed..b5fbf73 100644
--- a/lib/Bot/Games/Game.pm
+++ b/lib/Bot/Games/Game.pm
@@ -33,14 +33,14 @@ has start_time => (
isa => 'DateTime',
default => sub { DateTime->now },
command => 1,
- format => sub { _diff_from_now(shift) },
+ formatter => sub { _diff_from_now(shift) },
);
has last_turn_time => (
is => 'rw',
isa => 'DateTime',
command => 1,
- format => sub { _diff_from_now(shift) },
+ formatter => sub { _diff_from_now(shift) },
);
has is_over => (