Archived
1
0
Fork 0

Git hook exception (VJ + #22077)

This commit is contained in:
Mercier Pierre-Olivier 2013-12-01 01:44:20 +01:00
parent 24170b0b4e
commit 810c589ec0
2 changed files with 7 additions and 2 deletions

View file

@ -8,6 +8,7 @@ use File::Basename;
use Net::IP;
use POSIX qw(strftime);
use Socket;
use utf8;
use ACU::API::Projects;
use ACU::API::Submission;
@ -93,6 +94,10 @@ if ($ref =~ m<^refs/tags/(.+)$>)
{
$close = DateTime::Format::ISO8601->parse_datetime("2013-11-24T16:42:00");
}
elsif ($id_project eq "42sh" && "hadjad_r" eq $repo_login)
{
$close = DateTime::Format::ISO8601->parse_datetime("2013-12-01T17:42:00");
}
say "Date courante : ", $glts->strftime("%d/%m/%Y %H:%M:%S");