diff options
author | doy <doy@tozt.net> | 2009-04-26 22:47:49 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-04-26 22:47:49 -0500 |
commit | c64f42cd095808615929e685c0485e54c52a65b5 (patch) | |
tree | 8dcd954de972647f9784234dfea49c5ca0184e71 /lib | |
parent | 32fd1dc2b00e47196e1eba9c394c37a6957558ae (diff) | |
download | bot-games-c64f42cd095808615929e685c0485e54c52a65b5.tar.gz bot-games-c64f42cd095808615929e685c0485e54c52a65b5.zip |
formatter, not format
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Bot/Games/Game.pm | 4 |
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 => ( |