softchatjs-react
Version:
Install the softchat-js SDKs
8 lines (6 loc) • 422 B
text/typescript
declare const formatMessageTime: (date: string) => string;
declare const formatSectionTime: (date: string) => string;
declare function formatWhatsAppDate(dateInput: Date): string;
declare function formatConversationTime(time: Date | string): string;
declare function convertToMinutes(seconds: number): string;
export { convertToMinutes, formatConversationTime, formatMessageTime, formatSectionTime, formatWhatsAppDate };