Overview
Comment:Fix arguments order in date filters
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev | 1.0.0-rc4
Files: files | file ages | folders
SHA1: f5fe8e1fa60cb90871d60e89a8db6acb13ee5a4f
User & Date: bohwaz on 2020-12-02 13:02:33
Other Links: branch diff | manifest | tags
Context
2020-12-02
23:11
Fix plugin install check-in: 530ac81be6 user: bohwaz tags: dev
13:02
Fix arguments order in date filters check-in: f5fe8e1fa6 user: bohwaz tags: dev, 1.0.0-rc4
12:31
Order fees by amount check-in: b63a216b8b user: bohwaz tags: dev, 1.0.0-rc4
Changes

Modified src/include/lib/Garradin/Squelette_Filtres.php from [d1aad48bcc] to [66213b94a0].

59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
    static public function date($date, $format)
    {
        return strftime($format, $date);
    }

    static public function date_en_francais($date)
    {
        return ucfirst(strtolower(Utils::strftime_fr('%A %e %B %Y', $date)));
    }

    static public function heure_en_francais($date)
    {
        return Utils::strftime_fr('%Hh%M', $date);
    }

    static public function mois_en_francais($date)
    {
        return Utils::strftime_fr('%B %Y', $date);
    }

    static public function date_perso($date, $format)
    {
        return Utils::strftime_fr($format, $date);
    }

    static public function date_intelligente($date, $avec_heure = true)
    {
        $jour = null;
        $heure = date('H\hi', $date);








|




|




|




|







59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
    static public function date($date, $format)
    {
        return strftime($format, $date);
    }

    static public function date_en_francais($date)
    {
        return ucfirst(strtolower(Utils::strftime_fr($date, '%A %e %B %Y')));
    }

    static public function heure_en_francais($date)
    {
        return Utils::strftime_fr($date, '%Hh%M');
    }

    static public function mois_en_francais($date)
    {
        return Utils::strftime_fr($date, '%B %Y');
    }

    static public function date_perso($date, $format)
    {
        return Utils::strftime_fr($date, $format);
    }

    static public function date_intelligente($date, $avec_heure = true)
    {
        $jour = null;
        $heure = date('H\hi', $date);