nikilster / nsdate-time-ago Goto Github PK
View Code? Open in Web Editor NEWImplements Facebook's format for Time Ago (on their mobile apps)
License: Apache License 2.0
Implements Facebook's format for Time Ago (on their mobile apps)
License: Apache License 2.0
Hi.
Since I am new to ios development, it might sounds silly but need to ask about it. I'd like to add new localized strings for Korean developers. But I couldn't find solution to add new file to NSDateTimeAgo.bundle. I, of course, need the time-ago method for the current project. Please let me know how to add new locazlied string so that I can make pull request to enrich this fascinating category.
Thanks.
Would it be possible to be able to get this from a cocoa pod?
I would be more than happy to fork the repo and do that if you wish.
Hi,
Do you happen to have done a library similar to this for distance? I'm looking for one that will take meters and then go to km if it goes above 1k etc.
This change can help so many developer because when they use that utility, they want to smooth their app -> localization is good to go
+1 very good library
Thank
Calling [[NSDate distantPast] formattedAsTimeAgo]
gives "In The Future".
The bug is in this line:
NSTimeInterval secondsSince = -(int)[self timeIntervalSinceDate:now];
It should be
NSTimeInterval secondsSince = -(NSInteger)[self timeIntervalSinceDate:now];
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.