Skip to content

Commit

Permalink
Update date.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove authored Nov 22, 2017
1 parent 887f492 commit 2010711
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions date.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
now=this.getTime(),
past = !isNaN(arg[0])?arg[0]:new Date(arg[0]).getTime(),
diffValue = now - past,
result=''
console.log(new Date(past).getTime(),"2332")
result='',
minute = 1000 * 60,
hour = minute * 60,
day = hour * 24,
Expand Down

0 comments on commit 2010711

Please sign in to comment.