svg
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
FROM reg.cadoles.com/envole/nineapache:8.2
|
||||
|
||||
USER root
|
||||
|
||||
RUN apk add --no-cache tzdata
|
||||
ENV TZ=Europe/Paris
|
||||
RUN ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime && echo "Europe/Paris" > /etc/timezone
|
||||
|
||||
COPY ./misc/docker/apache.conf /etc/apache2/conf.d/nine/site.conf
|
||||
|
||||
WORKDIR /app
|
||||
|
@ -174,7 +174,10 @@ class RedmineService
|
||||
|
||||
public function majProjectIssues(Project $project, string $apiKey, bool $force = false)
|
||||
{
|
||||
$rissues = $this->getProjectIssues($project->getId(), $apiKey, $force ? null : $project->getUpdateAt());
|
||||
$updatedAt = $project->getUpdateAt();
|
||||
$updatedMinus10 = $updatedAt ? (clone $updatedAt)->sub(new \DateInterval('PT10M')) : null;
|
||||
|
||||
$rissues = $this->getProjectIssues($project->getId(), $apiKey, $force ? null : $updatedMinus10);
|
||||
$rissueids = [];
|
||||
foreach ($rissues as $rissue) {
|
||||
array_push($rissueids, $rissue['id']);
|
||||
|
Reference in New Issue
Block a user