|
|
@ -18,6 +18,7 @@ module.exports = function(server){ |
|
|
answer.day = now.getUTCDate(); |
|
|
answer.day = now.getUTCDate(); |
|
|
answer.year = now.getUTCFullYear(); |
|
|
answer.year = now.getUTCFullYear(); |
|
|
answer.hours = now.getUTCHours(); |
|
|
answer.hours = now.getUTCHours(); |
|
|
|
|
|
answer.minutes = now.getUTCMinutes(); |
|
|
answer.seconds = now.getUTCSeconds(); |
|
|
answer.seconds = now.getUTCSeconds(); |
|
|
answer.milliseconds = now.getUTCMilliseconds(); |
|
|
answer.milliseconds = now.getUTCMilliseconds(); |
|
|
answer.day_of_week = now.getUTCDay(); |
|
|
answer.day_of_week = now.getUTCDay(); |
|
|
@ -32,6 +33,7 @@ module.exports = function(server){ |
|
|
answer.day = now.getDate(); |
|
|
answer.day = now.getDate(); |
|
|
answer.year = now.getFullYear(); |
|
|
answer.year = now.getFullYear(); |
|
|
answer.hours = now.getHours(); |
|
|
answer.hours = now.getHours(); |
|
|
|
|
|
answer.minutes = now.getMinutes(); |
|
|
answer.seconds = now.getSeconds(); |
|
|
answer.seconds = now.getSeconds(); |
|
|
answer.milliseconds = now.getMilliseconds(); |
|
|
answer.milliseconds = now.getMilliseconds(); |
|
|
answer.day_of_week = now.getDay(); |
|
|
answer.day_of_week = now.getDay(); |
|
|
|