8000 GitHub - pianzhideshalou/JJTimerShaft: 时间轴,两句代码,微信时间,新浪时间,几分钟前,几天前,几月几号,原生,内存安全
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

时间轴,两句代码,微信时间,新浪时间,几分钟前,几天前,几月几号,原生,内存安全

License

Notifications You must be signed in to change notification settings

pianzhideshalou/JJTimerShaft

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JJTimerShaft

时间轴,微信时间,新浪时间,几分钟前,几天前,几月几号

两句代码实现时间轴

使用方法

引入头文件 #import "NSDate+JJCategory.h"
//把时间字符串转化成标准的时间格式
NSDate *timeDate = [NSDate timeStringToDate:timeString];
//转换成时间轴
NSString *requiredString = [timeDate dateToRequiredString];

About

时间轴,两句代码,微信时间,新浪时间,几分钟前,几天前,几月几号,原生,内存安全

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%
0