Created
February 18, 2010 19:53
-
-
Save donovanhide/307983 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sys = require('sys'), | |
require("./date/globalization/en-GB"); | |
require("./date/core"); | |
require("./date/parser"); | |
require("./date/sugarpak"); | |
require("./date/time"); | |
require("./date/extras"); | |
var start = new Date(); | |
... | |
Do stuff | |
... | |
var duration = new TimePeriod(start,new Date()); | |
//This throws "ReferenceError: TimePeriod is not defined" | |
sys.puts('Tests took: '+ duration); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment