[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [uk] [vi] [zh] Espace de traduction



June 2010

All the versions of this article:

The |saison filter, applied to a tag that returns a valid date, displays the common name of the corresponding season (summer, autumn...).

Example: for an article published on 22-01-2008,
[(#DATE|saison)] will display "winter".

The seasons are defined as:

  • from 21-03 to 20-06: spring
  • from 21-06 to 20-09: summer
  • from 21-09 to 20-12: autumn
  • from 21-12 to 20-03: winter

See also the |nom_jour and |nom_mois filters.

Show the template of this page Site powered by SPIP | Translation area | Private area