Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Issue #15 : added 2 new methods #19

Merged
merged 1 commit into from
May 20, 2013
Merged

Conversation

chrisben
Copy link
Collaborator

As discussed in issue #15, added two new methods that can be used as
drop-in replacement to timeAgo: dateTimeAgo and dateTimeUntilNow. See
header file for more details about those methods.

Also refactored some code in timeAgo to simplify it.

As discussed in issue kevinlawler#15, added two new methods that can be used as
drop-in replacement to timeAgo: dateTimeAgo and dateTimeUntilNow. See
header file for more details about those methods.

Also refactored some code in timeAgo to simplify it.
@kevinlawler
Copy link
Owner

How confident are you this is correct?

You have commit access. You can merge if you're sure it's right.

chrisben added a commit that referenced this pull request May 20, 2013
Issue #15 : added 2 new methods
@chrisben chrisben merged commit 9d3d049 into kevinlawler:master May 20, 2013
@chrisben
Copy link
Collaborator Author

Now as the previous timeAgo method hasn't changed (minus the small refactor) it shouldn't create any problem for people just upgrading.
From the tests I've done so far, it looked correct.

I've also just now added the new strings to translation + updated Readme.

Note: the new methods might use new texts that are not yet translated in your Language -- if used for anything else than English or French, make sure you add translations first.

@kevinlawler
Copy link
Owner

Please see here for suggestions on how to deal with the addition of new strings:

#14 (comment)

@kevinlawler
Copy link
Owner

Ah, I see @chrisben is already ahead of me there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants