Convert integer to hours and minutes

Use int devision in a template //, and divide by 60. That will give you hours. Next use mod, %, on the same number to get minutes.

{{value | float // 60}} hours {{value | float % 60}} minutes
1 Like