Forum Discussion

Frontman's avatar
Qrew Trainee
2 months ago

Time of Day field values are not in 24-hour format in Pipelines

Hi all. I think I found a bug with Pipelines where using a Time of Day field isn't in 24-hour format even when you set the field settings to 24-hour.  Can anyone think of a possible workaround? Mos...
  • DougHenning1's avatar
    2 months ago

    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