Bonjour.
Personne n'ayant répondu, je me suis plongé dans les tags pendant des heures !!!
J'ai aussi sollicité Werner par mail à plusieurs reprises.
Le résultat ?
J'utilise de nouveaux tags qui me permettent de m'affranchir de la BDD chez mon hébergeur et, de plus, j'ai réduit mon custom variables.php de près de 1000 lignes. Oui, oui, vous avez bien lu !!!
Exemple avec ce tag qui permet de connaitre l'ensoleillement de l'année dernière à la même date, c'est à dire : nous sommes le 8 février 2018, quel était l'ensoleillement du 01/01/2017 jusqu'au 08/02/2017. (j'aime les comparaisons...)
Code : Tout sélectionner
%ws_valtotime[%season_sum[37~0101-001~%ws_day2%%ws_month2%-001]%]%
Il remplace celui-ci que Chriss avait réalisé à ma demande (pas moins de 200 lignes !!!) :
Code : Tout sélectionner
%ws_setmem[50]=%ws_calc[-]=%ws_year%~1~0%%
%ws_setmem[1]=0,0%
%ws_setmem[2]=%ws_calc[+]=%ws_getmem[1]%~%sun_d_mpast[01~%ws_getmem[50]%]%~2%%
%ws_setmem[3]=%ws_calc[+]=%ws_getmem[2]%~%sun_d_mpast[02~%ws_getmem[50]%]%~2%%
%ws_setmem[4]=%ws_calc[+]=%ws_getmem[3]%~%sun_d_mpast[03~%ws_getmem[50]%]%~2%%
%ws_setmem[5]=%ws_calc[+]=%ws_getmem[4]%~%sun_d_mpast[04~%ws_getmem[50]%]%~2%%
%ws_setmem[6]=%ws_calc[+]=%ws_getmem[5]%~%sun_d_mpast[05~%ws_getmem[50]%]%~2%%
%ws_setmem[7]=%ws_calc[+]=%ws_getmem[6]%~%sun_d_mpast[06~%ws_getmem[50]%]%~2%%
%ws_setmem[8]=%ws_calc[+]=%ws_getmem[7]%~%sun_d_mpast[07~%ws_getmem[50]%]%~2%%
%ws_setmem[9]=%ws_calc[+]=%ws_getmem[8]%~%sun_d_mpast[08~%ws_getmem[50]%]%~2%%
%ws_setmem[10]=%ws_calc[+]=%ws_getmem[9]%~%sun_d_mpast[09~%ws_getmem[50]%]%~2%%
%ws_setmem[11]=%ws_calc[+]=%ws_getmem[10]%~%sun_d_mpast[10~%ws_getmem[50]%]%~2%%
%ws_setmem[12]=%ws_calc[+]=%ws_getmem[11]%~%sun_d_mpast[11~%ws_getmem[50]%]%~2%%
%ws_setmem[40]=%ws_getmem[%ws_month%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[01~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[01~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[1]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[02~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[02~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[2]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[03~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[03~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[3]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[04~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[04~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[4]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[05~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[05~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[5]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[06~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[06~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[6]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[07~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[07~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[7]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[08~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[08~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[8]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[09~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[09~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[9]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[10~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[10~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[10]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[11~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[11~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[11]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[12~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[12~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[12]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[13~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[13~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[13]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[14~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[14~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[14]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[15~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[15~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[15]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[16~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[16~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[16]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[17~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[17~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[17]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[18~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[18~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[18]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[19~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[19~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[19]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[20~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[20~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[20]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[21~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[21~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[21]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[22~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[22~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[22]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[23~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[23~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[23]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[24~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[24~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[24]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[25~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[25~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[25]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[26~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[26~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[26]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[27~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[27~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[27]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[28~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[28~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[28]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[29~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[29~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[29]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[34]=%ws_replacestr= minutes~~%sundaypast[30~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[35]=%ws_compare[1]=%ws_getmem[34]%~10~00:%ws_getmem[34]%~00:0%ws_getmem[34]%%%
%ws_setmem[36]=%ws_replacestr=%ws_getmem[34]% minutes~%ws_getmem[35]%~%sundaypast[30~%ws_month2%~%ws_getmem[50]%]%%%
%ws_setmem[37]=%ws_replacestr= heures~~%ws_getmem[36]%%%
%ws_setmem[30]=%ws_timetoval[%ws_getmem[37]%]%%
%ws_setmem[31]=%sun_d_mpast[%ws_month2%~%ws_getmem[50]%]%%
%ws_setmem[2]=%ws_calc[+]=%ws_getmem[1]%~%ws_getmem[2]%~2%%
%ws_setmem[3]=%ws_calc[+]=%ws_getmem[2]%~%ws_getmem[3]%~2%%
%ws_setmem[4]=%ws_calc[+]=%ws_getmem[3]%~%ws_getmem[4]%~2%%
%ws_setmem[5]=%ws_calc[+]=%ws_getmem[4]%~%ws_getmem[5]%~2%%
%ws_setmem[6]=%ws_calc[+]=%ws_getmem[5]%~%ws_getmem[6]%~2%%
%ws_setmem[7]=%ws_calc[+]=%ws_getmem[6]%~%ws_getmem[7]%~2%%
%ws_setmem[8]=%ws_calc[+]=%ws_getmem[7]%~%ws_getmem[8]%~2%%
%ws_setmem[9]=%ws_calc[+]=%ws_getmem[8]%~%ws_getmem[9]%~2%%
%ws_setmem[10]=%ws_calc[+]=%ws_getmem[9]%~%ws_getmem[10]%~2%%
%ws_setmem[11]=%ws_calc[+]=%ws_getmem[10]%~%ws_getmem[11]%~2%%
%ws_setmem[12]=%ws_calc[+]=%ws_getmem[11]%~%ws_getmem[12]%~2%%
%ws_setmem[13]=%ws_calc[+]=%ws_getmem[12]%~%ws_getmem[13]%~2%%
%ws_setmem[14]=%ws_calc[+]=%ws_getmem[13]%~%ws_getmem[14]%~2%%
%ws_setmem[15]=%ws_calc[+]=%ws_getmem[14]%~%ws_getmem[15]%~2%%
%ws_setmem[16]=%ws_calc[+]=%ws_getmem[15]%~%ws_getmem[16]%~2%%
%ws_setmem[17]=%ws_calc[+]=%ws_getmem[16]%~%ws_getmem[17]%~2%%
%ws_setmem[18]=%ws_calc[+]=%ws_getmem[17]%~%ws_getmem[18]%~2%%
%ws_setmem[19]=%ws_calc[+]=%ws_getmem[18]%~%ws_getmem[19]%~2%%
%ws_setmem[20]=%ws_calc[+]=%ws_getmem[19]%~%ws_getmem[20]%~2%%
%ws_setmem[21]=%ws_calc[+]=%ws_getmem[20]%~%ws_getmem[21]%~2%%
%ws_setmem[22]=%ws_calc[+]=%ws_getmem[21]%~%ws_getmem[22]%~2%%
%ws_setmem[23]=%ws_calc[+]=%ws_getmem[22]%~%ws_getmem[23]%~2%%
%ws_setmem[24]=%ws_calc[+]=%ws_getmem[23]%~%ws_getmem[24]%~2%%
%ws_setmem[25]=%ws_calc[+]=%ws_getmem[24]%~%ws_getmem[25]%~2%%
%ws_setmem[26]=%ws_calc[+]=%ws_getmem[25]%~%ws_getmem[26]%~2%%
%ws_setmem[27]=%ws_calc[+]=%ws_getmem[26]%~%ws_getmem[27]%~2%%
%ws_setmem[28]=%ws_calc[+]=%ws_getmem[27]%~%ws_getmem[28]%~2%%
%ws_setmem[29]=%ws_calc[+]=%ws_getmem[28]%~%ws_getmem[29]%~2%%
%ws_setmem[30]=%ws_calc[+]=%ws_getmem[29]%~%ws_getmem[30]%~2%%
%ws_setmem[2]=%ws_getmem[%ws_day%]%%
%ws_setmem[2]=%ws_calc[+]=%ws_getmem[2]%~%ws_getmem[40]%~2%%
%ws_setmem[3]=%ws_cutstr=0~3~%ws_getmem[2]%%%
%ws_setmem[4]=%ws_calc[-]=%ws_getmem[2]%~%ws_getmem[3]%~1%%
%ws_setmem[5]=%ws_calc[*]=%ws_getmem[4]%~60~0%%
%ws_setmem[6]=%ws_compare[5]=%ws_getmem[5]%~10~0%ws_getmem[5]%~%ws_getmem[5]%%%
%ws_getmem[3]%:%ws_getmem[6]% h
Impressionnant non ?
Un autre tag intéressant permet de connaitre le nombre de jours de soleil de l'année en cours, à partir d'un seuil que l'on peut choisir.
Perso, je choisis 2 heures :
Code : Tout sélectionner
%season_idhdaysx[37~0101%ws_year%~%ws_day2%%ws_month2%%ws_year%~000002A]%
En le modifiant, on peut avoir le nombre de jours de soleil
- d'une année précédente,
- du mois en cours,
- de l'année précédente jusqu'à la même date,
- du même mois de l'année précédente jusqu'à la même date...