projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
node_modules/grunt/node_modules/dateformat/test/weekofyear/test_weekofyear.js
@@ -0,0
+1,4
@@
+var dateFormat = require('../lib/dateformat.js');
+
+var val = process.argv[2] || new Date();
+console.log(dateFormat(val, 'W'));