[SPIP] PUBLISHED : heures_minutes

SPIP

Article validated

The article « heures_minutes (https://www.spip.net/en_article6735.html) »
was validated by George.


heures_minutes

Saturday 27 August 2022 , by jack

The `

|heures_minutes

` filter is applied to a date and returns the hours and minutes.

`

[

(

#DATE

|heures_minutes

)

]

will display for example17h26min`.

As of SPIP 4.0, the filter accepts as an optional argument « abbr » when
you do not wish to indicate the minutes unit.

`

[

(

#DATE

|heures_minutes

{abbr}

)

]

will display, for example:17h26`

— Sent by SPIP (https://www.spip.net/)

rubon199-7e493.jpg