Differences From Artifact [ebb0aada90]:

To Artifact [bf7e62d419]:


37
38
39
40
41
42
43










44
45
46
47
48
49
50
        }

        $date = date($format, $ts);
        $date = strtr($date, self::$french_date_names);
        $date = strtolower($date);
        return $date;
    }











    static public function makeTimestampFromForm($d)
    {
        return mktime($d['h'], $d['min'], 0, $d['m'], $d['d'], $d['y']);
    }

    static public function modifyDate($str, $change)







>
>
>
>
>
>
>
>
>
>







37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
        }

        $date = date($format, $ts);
        $date = strtr($date, self::$french_date_names);
        $date = strtolower($date);
        return $date;
    }

    static public function sqliteDateToFrench($d, $short = false)
    {
        if (strlen($d) == 10 || $short)
            return \DateTime::createFromFormat('Y-m-d', substr($d, 0, 10))->format('d/m/Y');
        elseif (strlen($d) == 16)
            return \DateTime::createFromFormat('Y-m-d H:i', $d)->format('d/m/Y H:i');
        else
            return \DateTime::createFromFormat('Y-m-d H:i:s', $d)->format('d/m/Y H:i');
    }

    static public function makeTimestampFromForm($d)
    {
        return mktime($d['h'], $d['min'], 0, $d['m'], $d['d'], $d['y']);
    }

    static public function modifyDate($str, $change)