luxon@2, p-retry@5, p-throttle@5

This commit is contained in:
Jannis R 2022-05-09 14:44:46 +02:00
parent cef6dcaf0f
commit c6085eff26
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
2 changed files with 6 additions and 4 deletions

View file

@ -53,10 +53,10 @@
"gps-distance": "0.0.4",
"https-proxy-agent": "^5.0.0",
"lodash": "^4.17.5",
"luxon": "^1.3.0",
"luxon": "^2.3.2",
"object-scan": "^13.0.0",
"p-retry": "^4.1.0",
"p-throttle": "^4.1.1",
"p-retry": "^5.1.1",
"p-throttle": "^5.0.0",
"qs": "^6.6.0",
"slugg": "^1.2.0"
},

View file

@ -27,9 +27,11 @@ const parseScheduledDays = (ctx, sDays) => {
const _fpB = parseDate(fpB)
let d = DateTime.fromObject({
zone: profile.timezone, locale: profile.locale,
year: _fpB.year, month: _fpB.month, day: _fpB.day,
hour: 0, minute: 0, second: 0, millisecond: 0
}, {
zone: profile.timezone,
locale: profile.locale,
})
for (let b = 0; b < sDaysB.length; b++) {
for (let i = 0; i < 8; i++) {