Forum Discussion
DougHenning1
Community Manager
Easiest would be to parse the field then format:
{{ (time.parse(a.time_of_day)).strftime('%H:%M') }}
Above will output 23:30 if a.time_of_day is 11:30 PM
PrashantMaheshw
9 months agoQrew Captain
DougHenning1 wrote:Easiest would be to parse the field then format:
{{ (time.parse(a.time_of_day)).strftime('%H:%M') }}
Above will output 23:30 if a.time_of_day is 11:30 PM
DOUG You rock !!! AWESOME