SPIP
Article submitted
The article « heures_minutes
(https://www.spip.net/ecrire/?exec=article&id_article=6735) » is submitted
for publication. on Tuesday 23 August 2022.
heures_minutes
Tuesday 23 August 2022 , by jack
The `
|heures_minutes
` filter is applied to a date and returns the hour and minutes.
`
[
(
#DATE
|heures_minutes
)
]
will display for example
17h26min`.
As of SPIP 4.0, the filter accepts as an optional argument « abbr
» when
you do not wish to indicate the unit of minutes.
`
[
(
#DATE
|heures_minutes
{abbr}
)
]
will display, for example:
17h26`
— Sent by SPIP (https://www.spip.net/)