Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -45,6 +45,9 @@
- years: "%d years"
- }
- },
- + now: function() {
- + return new Date().getTime();
- + },
- inWords: function(distanceMillis) {
- var $l = this.settings.strings;
- var prefix = $l.prefixAgo;
- @@ -107,7 +110,7 @@
- }
- function distance(date) {
- - return (new Date().getTime() - date.getTime());
- + return ($t.now() - date.getTime());
- }
- function substitute(stringOrFunction, value) {
Add Comment
Please, Sign In to add comment