Guest User

Untitled

a guest
May 25th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. @@ -45,6 +45,9 @@
  2. years: "%d years"
  3. }
  4. },
  5. + now: function() {
  6. + return new Date().getTime();
  7. + },
  8. inWords: function(distanceMillis) {
  9. var $l = this.settings.strings;
  10. var prefix = $l.prefixAgo;
  11. @@ -107,7 +110,7 @@
  12. }
  13.  
  14. function distance(date) {
  15. - return (new Date().getTime() - date.getTime());
  16. + return ($t.now() - date.getTime());
  17. }
  18.  
  19. function substitute(stringOrFunction, value) {
Add Comment
Please, Sign In to add comment