()
| 49 | return crypto.createHash('md5').update(s).digest('hex'); |
| 50 | } |
| 51 | getTime() { |
| 52 | var now = new Date(); |
| 53 | var year = now.getFullYear() |
| 54 | , month = now.getMonth() + 1 |
| 55 | , day = now.getDate() |
| 56 | , hours = now.getHours() |
| 57 | , minutes = now.getMinutes() |
| 58 | , seconds = now.getSeconds(); |
| 59 | return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes + ':' + seconds; |
| 60 | } |
| 61 | getSignDay() { |
| 62 | var now = new Date(); |
| 63 | var year = now.getFullYear() |
no outgoing calls
no test coverage detected