Can we change the time format to 24 hrs? The time of each message in the group chat is displayed like “12:30 AM” (Need in 24 hrs time like “13:30”)

[Problem/Question]
// Detailed description of issue.
Can we change the time format to 24 hrs? The time of each message in the group chat is displayed like “12:30 AM” (Need in 24 hrs time like “13:30”)

// If problem, please fill out the below. If question, please delete.
[UIKit Version]
// What version of the SDK are you using?

[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.

[Frequency]
// How frequently is this issue occurring?

[Current impact]
// How is this currently impacting your implementation?

Hello @Samkit_Shah,

Do you want to change the time format to 24 hrs only for the message view or for the entire application?

Only for message view

Please add the below code in the AppDelegate file

SBUDateFormatSet.Message.sentTimeFormat = "HH:mm"

Let me know if you face any issues.

1 Like