Archived
1
0

Excpetion

This commit is contained in:
Mercier Pierre-Olivier 2013-12-06 00:10:03 +01:00
parent eb8c74d465
commit 737a12d443

View File

@ -133,11 +133,12 @@ sub check_submission_date
my $open = DateTime::Format::ISO8601->parse_datetime($rendu->{period}{begin}); my $open = DateTime::Format::ISO8601->parse_datetime($rendu->{period}{begin});
my $close = DateTime::Format::ISO8601->parse_datetime($rendu->{period}{end}); my $close = DateTime::Format::ISO8601->parse_datetime($rendu->{period}{end});
# if ($id_project eq "myhttpd" && grep { $_ eq $repo_login } @apping) # if ($id_project eq "atelier-cpp-j4" && grep { $_ eq $repo_login } @apping)
# { if ($id_project eq "atelier-cpp-j4" && "bes_e" eq $repo_login)
# $open = DateTime::Format::ISO8601->parse_datetime("2013-11-08T20:00:00"); {
$open = DateTime::Format::ISO8601->parse_datetime("2013-12-06T00:00:00");
# $close = DateTime::Format::ISO8601->parse_datetime("2013-11-10T11:42:00"); # $close = DateTime::Format::ISO8601->parse_datetime("2013-11-10T11:42:00");
# } }
say "Date courante : ", $glts->strftime("%d/%m/%Y %H:%M:%S"); say "Date courante : ", $glts->strftime("%d/%m/%Y %H:%M:%S");