FBMessengerTimeAgo
Facebook Messenger time ago style format
Install / Use
/learn @rad182/FBMessengerTimeAgoREADME
FBMessengerTimeAgo
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
- Swift 4.x
- iOS 8.0+
Installation
FBMessengerTimeAgo is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "FBMessengerTimeAgo"
Date Formats
Same day = "8:00 pm" // date time
<= 6 days = "Fri" // day
> 7 days and same year = "Oct 14" // month and day
> 1 year = "10/14/2015" // short date
Usage
Import module
import FBMessengerTimeAgo
Call formattedTimeAgo() where date is a past date from now
date.formattedTimeAgo()
Communication
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
License
FBMessengerTimeAgo is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
