Cannot change the time format in the chat messages to 24-hour

My code base is similar to the quickstart ios project.

In my FAQBotMessageCell’s configure function I have this code:

let dateFormatter = DateFormatter()
    dateFormatter.dateFormat = "HH:mm"
    let date = Date(timeIntervalSince1970: Double(message.createdAt) / 1000)
    let formattedTime = dateFormatter.string(from: date)
    dateLabel.text = formattedTime

And this code in the InboxTicketTableViewCell doesn’t help either:

if let channel = {
      let lastUpdatedTimestamp = channel.lastMessage?.createdAt ?? Int64(channel.createdAt)
      let lastUpdatedDate = Date(timeIntervalSince1970: Double(lastUpdatedTimestamp) / 1000)
      let dateFormatter = DateFormatter()
      dateFormatter.dateFormat = "dd/MM/yyyy HH:mm"
      let lastMessageDateComponents = Calendar.current.dateComponents([.day, .month, .year], from: lastUpdatedDate)
      let todayComponents = Calendar.current.dateComponents([.day, .month, .year], from: Date())
      if ==,
        lastMessageDateComponents.month == todayComponents.month,
        lastMessageDateComponents.year == todayComponents.year {
        dateFormatter.dateStyle = .none
        dateFormatter.timeStyle = .short
      } else {
        dateFormatter.dateStyle = .short
        dateFormatter.timeStyle = .none
      self.dateLabel.text = dateFormatter.string(from: lastUpdatedDate)

[SDK Version]

[Reproduction Steps]
Run the app (or sample app) and the time for the messages is displayed in a 12-hour format.

[Current impact]
The time format is different in other places and it should be the same everywhere.