Repository Details
Shared by
HelloGitHub Rating
0 ratings
Swift 处理时间和日期的开源三方库
Past 7 days Received 2 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 7,688 | — |
| 周三 | 7,688 | 0 |
| 周四 | 7,688 | 0 |
| 周五 | 7,689 | +1 |
| 周六 | 7,690 | +1 |
| 周日 | 7,690 | 0 |
| 周一 | 7,690 | 0 |
7.7k
Stars
No
Chinese
Swift
Language
No
Active
136
Contributors
94
Issues
No
Organization
None
Latest
769
Forks
MIT
License
Swift 处理时间和日期的开源三方库。示例代码:
```swift
// All default datetime formats (15+) are recognized automatically
let _ = "2010-05-20 15:30:00".toDate()
// You can also provide your own format!
let _ = "2010-05-20 15:30".toDate("yyyy-MM-dd HH:mm")
// All ISO8601 variants are supported too with timezone parsing!
let _ = "2017-09-17T11:59:29+02:00".toISODate()
// RSS, Extended, HTTP, SQL, .NET and all the major variants are supported!
let _ = "19 Nov 2015 22:20:40 +0100".toRSS(alt: true)
```
Included in:
Vol.49
Comments
Rating:
No comments yet