Bump version and update Changes
[gruntmaster-data.git] / lib / Gruntmaster / App / Command / Add.pm
index 5e8b07a91e8564b4d60602675f4d691cf8350479..8f84dc3dbbeea559815ff92a7f363262fe5966c8 100644 (file)
@@ -3,7 +3,7 @@ package Gruntmaster::App::Command::Add;
 use 5.014000;
 use warnings;
 
-our $VERSION = '5999.000_004';
+our $VERSION = '5999.000_014';
 
 use Gruntmaster::App '-command';
 use Gruntmaster::Data;
@@ -48,8 +48,8 @@ sub add_contest {
 
        my $name = prompt 'Contest name';
        my $owner = prompt 'Owner';
-       my $start = str2time prompt 'Start time' or die 'Cannot parse time';
-       my $stop = str2time prompt 'Stop time' or die 'Cannot parse time';
+       my $start = str2time prompt 'Start time' or die "Cannot parse time\n";
+       my $stop = str2time prompt 'Stop time' or die "Cannot parse time\n";
 
        db->insert(contests => {id => $id, name => $name, owner => $owner, start => $start, stop => $stop});
 }
@@ -150,7 +150,7 @@ Marius Gavrilescu, E<lt>marius@ieval.roE<gt>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (C) 2015 by Marius Gavrilescu
+Copyright (C) 2014-2015 by Marius Gavrilescu
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself, either Perl version 5.20.1 or,
This page took 0.010207 seconds and 4 git commands to generate.