bcherny / bcherny/node-timezone
Doesn't work on W7
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Tried different approaches. Worked on my Ubuntu 16.04 VM.
node-timezone@0.0.3
npm v3.10.3
node.js v6.5.0
> var getTimezone = require('node-timezone').getTimezone
undefined
> console.log(getTimezone())
Error: Command failed: date +%Z
at checkExecSyncError (child_process.js:483:13)
at execSync (child_process.js:523:13)
at module.exports.getTimezone (C:\Users\xxxxxxx\Desktop\node_modules\node-timezone\index.js:16:56)
at repl:1:13
at sigintHandlersWrap (vm.js:22:35)
at sigintHandlersWrap (vm.js:96:12)
at ContextifyScript.Script.runInThisContext (vm.js:21:12)
at REPLServer.defaultEval (repl.js:313:29)
at bound (domain.js:280:14)
at REPLServer.runBound [as eval] (domain.js:293:12)
> console.log(getTimezone());
Error: Command failed: date +%Z
at checkExecSyncError (child_process.js:483:13)
at execSync (child_process.js:523:13)
at module.exports.getTimezone (C:\Users\xxxxxxx\Desktop\node_modules\node-timezone\index.js:16:56)
at repl:1:13
at sigintHandlersWrap (vm.js:22:35)
at sigintHandlersWrap (vm.js:96:12)
at ContextifyScript.Script.runInThisContext (vm.js:21:12)
at REPLServer.defaultEval (repl.js:313:29)
at bound (domain.js:280:14)
at REPLServer.runBound [as eval] (domain.js:293:12)
> var getTimezone = require('node-timezone').getTimezone
undefined
> getTimezone()
Error: Command failed: date +%Z
at checkExecSyncError (child_process.js:483:13)
at execSync (child_process.js:523:13)
at module.exports.getTimezone (C:\Users\xxxxxxx\Desktop\node_modules\node-timezone\index.js:16:56)
at repl:1:1
at sigintHandlersWrap (vm.js:22:35)
at sigintHandlersWrap (vm.js:96:12)
at ContextifyScript.Script.runInThisContext (vm.js:21:12)
at REPLServer.defaultEval (repl.js:313:29)
at bound (domain.js:280:14)
at REPLServer.runBound [as eval] (domain.js:293:12)
>
(To exit, press ^C again or type .exit)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.