Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
npm module to combine two Date objects, "day" and "time"
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
.jscs.json
.travis.yml
LICENSE
README.md
index.js
package.json
test.js

README.md

node-daytime Version Badge

Build Status dependency status dev dependency status

npm badge

browser support

npm module to combine two Date objects, "day" and "time", into a new Date object

Example

var daytime = require('daytime');
var day = new Date('11/11/2013');
var time = new Date('11/11/1111 11:11');
var expected = new Date('11/11/2013 11:11');

assert.equal(daytime(day, time), expected);

Tests

Simply clone the repo, npm install, and run npm test

Something went wrong with that request. Please try again.