This repository has been archived by the owner on Nov 13, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overrides the Rails distance_of_time_in_words with the dotiw gem. This gives us the ability to report exact time diffs in words accumulating on the type we want. So two days of compute renders as 48 hours. 3600 seconds renders as 1 hour instead of about 1 hour. Due to the imprecision in our set up we are not reporting on seconds. dotiw provides backwards compatible functionality using the :vague keyword if we need that elsewhere in the application.
- Loading branch information
Morgan Rodgers
committed
Dec 7, 2018
1 parent
0a2d8c0
commit ee1a02f
Showing
3 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters