From 0100a9ab4cef6a9e2b37d67914f580b5ef3f94f5 Mon Sep 17 00:00:00 2001 From: Brett Langdon Date: Sat, 2 Feb 2013 08:11:32 -0500 Subject: [PATCH] was missing minutes from time objects --- lib/time/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/time/index.js b/lib/time/index.js index 981d729..79325d6 100644 --- a/lib/time/index.js +++ b/lib/time/index.js @@ -18,6 +18,7 @@ module.exports = function(server){ answer.day = now.getUTCDate(); answer.year = now.getUTCFullYear(); answer.hours = now.getUTCHours(); + answer.minutes = now.getUTCMinutes(); answer.seconds = now.getUTCSeconds(); answer.milliseconds = now.getUTCMilliseconds(); answer.day_of_week = now.getUTCDay(); @@ -32,6 +33,7 @@ module.exports = function(server){ answer.day = now.getDate(); answer.year = now.getFullYear(); answer.hours = now.getHours(); + answer.minutes = now.getMinutes(); answer.seconds = now.getSeconds(); answer.milliseconds = now.getMilliseconds(); answer.day_of_week = now.getDay();