Version 1
[yaffs-website] / node_modules / grunt / node_modules / dateformat / test / weekofyear / test_weekofyear.js
diff --git a/node_modules/grunt/node_modules/dateformat/test/weekofyear/test_weekofyear.js b/node_modules/grunt/node_modules/dateformat/test/weekofyear/test_weekofyear.js
new file mode 100644 (file)
index 0000000..d1ddbe8
--- /dev/null
@@ -0,0 +1,4 @@
+var dateFormat = require('../lib/dateformat.js');
+
+var val = process.argv[2] || new Date();
+console.log(dateFormat(val, 'W'));