You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* * test case for json-schema validation issue with date-time formats */varjsonschema=require('json-schema');varschema={'type': 'string','format': 'date-time'};console.log(jsonschema.validate('asdf',schema));
Here's the output on my system:
dap@sharptooth jst $ uname -a
Darwin sharptooth.local 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64
dap@sharptooth jst $ node -v
v0.10.18
dap@sharptooth jst $ npm ls
/Users/dap/Desktop/jst
└── json-schema@0.2.2
dap@sharptooth jst $ node issue-datetime.js
{ valid: true, errors: [] }
The text was updated successfully, but these errors were encountered:
Here's a test program:
Here's the output on my system:
The text was updated successfully, but these errors were encountered: