Browse Source

fix datetime

master
AmarOk 10 years ago
parent
commit
3b3e4543a8
No known key found for this signature in database GPG Key ID: C894BB01EEB2A9A9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      datetimeOperations.php

+ 2
- 2
datetimeOperations.php View File

@ -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')


Loading…
Cancel
Save