<%# @param object [model] model instance %> <%# @param field_name [String] name of the field %> <%# @param value [Object] value of the field %> <%# @param metadata [Hash] metadata of the field %> <% if value.present? %> <% value = Time.zone.parse value if value.is_a? String %> <%= I18n.l value, format: '%H:%M:%S' %><% end %>