CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

Symday 0.0.3

Symday 0.0.3

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2016
SPMSupports SPM

Maintained by tnantoka.



Symday 0.0.3

Symday

Installation

Swift Package Manager

// Package.swift
.Package(url: "https://github.com/tnantoka/Symday.git", majorVersion: 0),

Usage

import Symday

let date = NSDate(timeIntervalSince1970: 1_279_410_659)
Symday.format(date) // Jul 17, 2010
Symday.format(date, template: "MdEEE") // Sat, 7/17
Symday(locale: NSLocale(localeIdentifier: "ja_JP")).format(date) // 2010年7月17日

References

http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns

Author

@tnantoka