From 3b3e4543a8294cb3e899493bd3f0d91083219988 Mon Sep 17 00:00:00 2001 From: AmarOk Date: Thu, 21 Apr 2016 11:17:34 +0200 Subject: [PATCH] fix datetime --- datetimeOperations.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datetimeOperations.php b/datetimeOperations.php index dc31e0f..8e8d877 100644 --- a/datetimeOperations.php +++ b/datetimeOperations.php @@ -16,7 +16,7 @@ $daysFull = array( 4 => "Jeudi", 5 => "Vendredi", 6 => "Samedi", - 7 => "Dimamche" + 7 => "Dimanche" ); $months = array( @@ -44,7 +44,7 @@ $months = array( function printableHour($datetime) { $hour = date('G', $datetime); - $minutes = date('I', $datetime); + $minutes = date('i', $datetime); $ret = $hour.'h'; if($minutes != '00')