You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to custom the display time format of the message?
it displays time in 12-hour clock, is there an easy way to customize it to 24-hour clock?
Guide & Snippet
The method below can be applied to any input component in a group channel, open channel, or message thread.
Before displaying message list, please set the date format of SBUDateFormatSet as follows:
SBUDateFormatSet.Message.sentTimeFormat ="hhmmaa"// for group channel, message threadSBUDateFormatSet.Message.sentTimeFormatInOpenChannel ="hhmmaa"// for open channel
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
Guide & Snippet
SBUDateFormatSet
as follows:E, MMM yyyy
MMM dd, yyyy
E, MMM dd
MMM dd
hh:mm a
hh:mm
yyyy/MM/dd
yyyyMMddhhmm
yyyyMMddhhmmss
MMM dd hh:mm a
MMM dd, yyyy hh:mm a
Reference
Beta Was this translation helpful? Give feedback.
All reactions