mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
luxon@2, p-retry@5, p-throttle@5
This commit is contained in:
parent
cef6dcaf0f
commit
c6085eff26
2 changed files with 6 additions and 4 deletions
|
@ -53,10 +53,10 @@
|
||||||
"gps-distance": "0.0.4",
|
"gps-distance": "0.0.4",
|
||||||
"https-proxy-agent": "^5.0.0",
|
"https-proxy-agent": "^5.0.0",
|
||||||
"lodash": "^4.17.5",
|
"lodash": "^4.17.5",
|
||||||
"luxon": "^1.3.0",
|
"luxon": "^2.3.2",
|
||||||
"object-scan": "^13.0.0",
|
"object-scan": "^13.0.0",
|
||||||
"p-retry": "^4.1.0",
|
"p-retry": "^5.1.1",
|
||||||
"p-throttle": "^4.1.1",
|
"p-throttle": "^5.0.0",
|
||||||
"qs": "^6.6.0",
|
"qs": "^6.6.0",
|
||||||
"slugg": "^1.2.0"
|
"slugg": "^1.2.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -27,9 +27,11 @@ const parseScheduledDays = (ctx, sDays) => {
|
||||||
|
|
||||||
const _fpB = parseDate(fpB)
|
const _fpB = parseDate(fpB)
|
||||||
let d = DateTime.fromObject({
|
let d = DateTime.fromObject({
|
||||||
zone: profile.timezone, locale: profile.locale,
|
|
||||||
year: _fpB.year, month: _fpB.month, day: _fpB.day,
|
year: _fpB.year, month: _fpB.month, day: _fpB.day,
|
||||||
hour: 0, minute: 0, second: 0, millisecond: 0
|
hour: 0, minute: 0, second: 0, millisecond: 0
|
||||||
|
}, {
|
||||||
|
zone: profile.timezone,
|
||||||
|
locale: profile.locale,
|
||||||
})
|
})
|
||||||
for (let b = 0; b < sDaysB.length; b++) {
|
for (let b = 0; b < sDaysB.length; b++) {
|
||||||
for (let i = 0; i < 8; i++) {
|
for (let i = 0; i < 8; i++) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue