Overview
Comment:Squelettes: Ajout filtre "date" pour les dates en anglais
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 42f3dfa075ba436329221cd128fe64f7bc1cc148
User & Date: bohwaz on 2017-08-02 04:07:50
Other Links: branch diff | manifest | tags
Context
2017-08-02
04:30
Correction image de fond avec couleurs personnalisées check-in: 685bb7583a user: bohwaz tags: dev
04:07
Squelettes: Ajout filtre "date" pour les dates en anglais check-in: 42f3dfa075 user: bohwaz tags: dev
2017-08-01
06:43
Donner la possibilité à un plugin de bypasser la base de données et fournir son propre itérateur check-in: f6bdca768e user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Squelette_Filtres.php from [201820cf3b] to [0c89c7f258].

51
52
53
54
55
56
57





58
59
60
61
62
63
64

    static public $desactiver_defaut = [
        'formatter_texte',
        'entites_html',
        'proteger_contact',
        'echapper_xml',
    ];






    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)







>
>
>
>
>







51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69

    static public $desactiver_defaut = [
        'formatter_texte',
        'entites_html',
        'proteger_contact',
        'echapper_xml',
    ];

    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)