Adjust European short trip heuristic from >3 days to >1 day to correctly detect when user has returned home from European trips. This fixes the April 29-30, 2023 case where the location incorrectly showed "Sankt Georg, Hamburg" instead of "Bristol" when the user was free (no events scheduled) after the foss-north trip ended on April 27. The previous logic required more than 3 days to pass before assuming return home from European countries, but for short European trips by rail/ferry, users typically return within 1-2 days. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
45 lines
1 KiB
JSON
45 lines
1 KiB
JSON
{
|
|
"name": "esutils",
|
|
"description": "utility box for ECMAScript language tools",
|
|
"homepage": "https://github.com/estools/esutils",
|
|
"main": "lib/utils.js",
|
|
"version": "2.0.3",
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"directories": {
|
|
"lib": "./lib"
|
|
},
|
|
"files": [
|
|
"LICENSE.BSD",
|
|
"README.md",
|
|
"lib"
|
|
],
|
|
"maintainers": [
|
|
{
|
|
"name": "Yusuke Suzuki",
|
|
"email": "utatane.tea@gmail.com",
|
|
"web": "http://github.com/Constellation"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/estools/esutils.git"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "~1.7.2",
|
|
"coffee-script": "~1.6.3",
|
|
"jshint": "2.6.3",
|
|
"mocha": "~2.2.1",
|
|
"regenerate": "~1.3.1",
|
|
"unicode-9.0.0": "~0.7.0"
|
|
},
|
|
"license": "BSD-2-Clause",
|
|
"scripts": {
|
|
"test": "npm run-script lint && npm run-script unit-test",
|
|
"lint": "jshint lib/*.js",
|
|
"unit-test": "mocha --compilers coffee:coffee-script -R spec",
|
|
"generate-regex": "node tools/generate-identifier-regex.js"
|
|
}
|
|
}
|