8df86bccf0
Bunyan CLI was not handling timezone conversion properly when set to use local time. This patch uses [Moment.js][] to fix those issues. * Timezone conversions work properly across DST conversions * The timezone, when shown, is correctly shown as `±hh:mm` * The timzeone is omitted on short output, since it isn't that short. Except when UTC is used, since that can be indicated by the single character `Z` Fixes #245 [Moment.js]: http://momentjs.com/
39 lines
904 B
JSON
39 lines
904 B
JSON
{
|
|
"name": "bunyan",
|
|
"version": "1.5.2",
|
|
"description": "a JSON logging library for node.js services",
|
|
"author": "Trent Mick <trentm@gmail.com> (http://trentm.com)",
|
|
"main": "./lib/bunyan.js",
|
|
"bin": {
|
|
"bunyan": "./bin/bunyan"
|
|
},
|
|
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/trentm/node-bunyan.git"
|
|
},
|
|
"engines": ["node >=0.10.0"],
|
|
"keywords": ["log", "logging", "log4j", "json", "bunyan"],
|
|
"license": "MIT",
|
|
|
|
"// comment1": "'dtrace-provider' required for dtrace features",
|
|
"// comment2": "'mv' required for RotatingFileStream",
|
|
"optionalDependencies": {
|
|
"dtrace-provider": "~0.6",
|
|
"mv": "~2",
|
|
"safe-json-stringify": "~1"
|
|
},
|
|
"devDependencies": {
|
|
"nodeunit": "0.9",
|
|
"ben": "0.0.0",
|
|
"verror": "1.3.3",
|
|
"vasync": "1.4.3"
|
|
},
|
|
|
|
"scripts": {
|
|
"test": "make test"
|
|
},
|
|
"dependencies": {
|
|
"moment": "^2.10.6"
|
|
}
|
|
}
|