Latest 1.2.0
License MIT
Platforms ios 8.0, osx 10.10, tvos 9.0, watchos 2.0

CocoaPods Version Swift Platform Swift Package Manager compatible Carthage compatible

LocalizedTimeAgo is a time ago framework written in Swift and localized in 42 languages. It uses translations from the popular Objective-C library DateTools.

Supported Localizations

Amharic, Arabic, Basque, Bulgarian, Catalan, Chinese (Simplified), Chinese (Traditional), Croatian, Czech, Danish, Dutch, English, Finnish, French, German, Greek, Gujarati, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Italian, Japanese, Korean, Latvian, Malay, Norwegian, Polish, Portuguese (Brazil), Portuguese (Portugal), Romanian, Russian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukranian, Vietnamese, Welsh


Note: LocalizedTimeAgo requires Swift 3 (and Xcode 8) or greater.

Targets using LocalizedTimeAgo must support embedded Swift frameworks.

Swift Package Manager

Swift Package Manager is Apple’s
official package manager for Swift frameworks. To install with Swift Package

  1. Add LocalizedTimeAgo to your Package.swift file:

    import PackageDescription
    let package = Package(
        name: "MyAppTarget",
        dependencies: [
            .Package(url: "",
                     majorVersion: 1, minor: 2)
  2. Run swift build.

  3. Generate Xcode project:

    swift package generate-xcodeproj


Carthage is a decentralized dependency manager for Cocoa projects. To
install LocalizedTimeAgo with Carthage:

  1. Make sure Carthage is installed.

  2. Add LocalizedTimeAgo to your Cartfile:

    github "toddkramer/LocalizedTimeAgo" ~> 1.2.0
  3. Run carthage update and add the appropriate framework.


CocoaPods is a centralized dependency manager for Cocoa projects. To install
LocalizedTimeAgo with CocoaPods:

  1. Make sure the latest version of CocoaPods is installed.

  2. Add LocalizedTimeAgo to your Podfile:

    pod 'LocalizedTimeAgo', '~> 1.2.0'
  3. Run pod install.

Latest podspec

    "name": "LocalizedTimeAgo",
    "version": "1.2.0",
    "license": "MIT",
    "summary": "Swift time ago framework localized in 42 languages.",
    "homepage": "",
    "social_media_url": "",
    "authors": "Todd Kramer",
    "source": {
        "git": "",
        "tag": "1.2.0"
    "module_name": "LocalizedTimeAgo",
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "tvos": "9.0",
        "watchos": "2.0"
    "source_files": "Sources/*.swift",
    "resources": "Resources/LocalizedTimeAgo.bundle"

Pin It on Pinterest

Share This