Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
change Airac date 2024 (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcaussades authored Jan 3, 2024
1 parent 8c2082b commit 251f952
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions app/Http/Controllers/CarteSIAController.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,20 @@ public function Airac_date($value)
{
$airac = $value;
$airac_table = [
"07" => "2023-07-13",
"08" => "2023-08-10",
"09" => "2023-09-07",
"10" => "2023-10-05",
"11" => "2023-11-02",
"12" => "2023-12-28",
"13" => "2023-12-23",
"01" => "2024-01-25",
"02" => "2024-02-22",
"03" => "2024-03-21",
"04" => "2024-04-16",
"05" => "2024-05-16",
"06" => "2024-06-13",
"07" => "2024-07-11",
"08" => "2024-08-08",
"09" => "2024-09-05",
"10" => "2024-10-03",
"11" => "2024-10-31",
"12" => "2024-11-28",
"13" => "2024-12-26",
];
$date = $airac_table[$airac];
return $date;
Expand Down

0 comments on commit 251f952

Please sign in to comment.