Browse Source

was missing minutes from time objects

master v0.1.0
Brett Langdon 13 years ago
parent
commit
0100a9ab4c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      lib/time/index.js

+ 2
- 0
lib/time/index.js View File

@ -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();


Loading…
Cancel
Save