2 : Ajout du module de recherche internet
This commit is contained in:
parent
d79e3dbf35
commit
0724c49ae7
23 changed files with 360 additions and 0 deletions
4
templates/systemdate_template.j2
Normal file
4
templates/systemdate_template.j2
Normal file
|
@ -0,0 +1,4 @@
|
|||
{% set day_of_week = {"0": "dimanche", "1": "lundi", "2": "mardi", "3": "mercredi", "4": "jeudi", "5": "vendredi", "6": "samedi"}[weekday] | default("") -%}
|
||||
{% set month_word = {"1": "janvier", "2": "février", "3": "mars", "4": "avril", "5": "mai", "6": "juin", "7": "juillet", "8": "août", "9": "septembre", "10": "octobre", "11": "novembre", "12": "décembre"}[month] | default("") -%}
|
||||
|
||||
Nous sommes le {{ day_of_week }} {{ day_month }} {{ month_word }} {{ year }}
|
Loading…
Add table
Add a link
Reference in a new issue