From c64f42cd095808615929e685c0485e54c52a65b5 Mon Sep 17 00:00:00 2001 From: doy Date: Sun, 26 Apr 2009 22:47:49 -0500 Subject: formatter, not format --- lib/Bot/Games/Game.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 => ( -- cgit v1.2.3-54-g00ecf