fix entered_stamp

This commit is contained in:
Oliver Gorwits
2014-05-11 01:18:21 +01:00
parent 471724dd89
commit ec8ad3b2d8

View File

@@ -45,6 +45,10 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("job"); __PACKAGE__->set_primary_key("job");
sub extra { (shift)->subaction } sub extra { (shift)->subaction }
sub entered_stamp { (shift)->entered }
sub entered_stamp {
(my $stamp = (shift)->entered) =~ s/\.\d+$//;
return $stamp;
}
1; 1;