chore: update dependencies (#224)
Some checks failed
Publish latest version / build (push) Has been cancelled
Some checks failed
Publish latest version / build (push) Has been cancelled
Reviewed-on: #224 Co-authored-by: Mylloon <kennel.anri@tutanota.com> Co-committed-by: Mylloon <kennel.anri@tutanota.com>
This commit is contained in:
parent
1a68c2b383
commit
2468662cd3
3 changed files with 471 additions and 347 deletions
794
package-lock.json
generated
794
package-lock.json
generated
File diff suppressed because it is too large
Load diff
22
package.json
22
package.json
|
@ -19,23 +19,23 @@
|
|||
"author": "La confrérie du Kassoulait",
|
||||
"license": "AGPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@discord-player/extractor": "^7.0.0",
|
||||
"@discordjs/rest": "^2.4.2",
|
||||
"discord-player": "^7.0.0",
|
||||
"discord-player-youtubei": "^1.3.7",
|
||||
"discord.js": "^14.17.2",
|
||||
"moment-timezone": "^0.5.46",
|
||||
"@discord-player/extractor": "^7.1.0",
|
||||
"@discordjs/rest": "^2.4.3",
|
||||
"discord-player": "^7.1.0",
|
||||
"discord-player-youtubei": "^1.4.2",
|
||||
"discord.js": "^14.18.0",
|
||||
"moment-timezone": "^0.5.47",
|
||||
"sqlite3": "^5.1.7",
|
||||
"typescript": "^5.7.2",
|
||||
"uuid": "^11.0.3"
|
||||
"typescript": "^5.8.2",
|
||||
"uuid": "^11.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "~8.19.0",
|
||||
"@typescript-eslint/parser": "~8.19.0",
|
||||
"@typescript-eslint/eslint-plugin": "~8.26.0",
|
||||
"@typescript-eslint/parser": "~8.26.0",
|
||||
"dotenv": "~16.4.7",
|
||||
"prettier-eslint": "~16.3.0",
|
||||
"ts-node-dev": "~2.0.0",
|
||||
"tsx": "^4.19.2"
|
||||
"tsx": "^4.19.3"
|
||||
},
|
||||
"overrides": {
|
||||
"esbuild": "^0.23.1"
|
||||
|
|
|
@ -12,7 +12,7 @@ export const showDate = (lang: string, translation: Map<string, unknown>, date:
|
|||
const localeInfo = new Intl.Locale(lang);
|
||||
const intlTimezone = moment.tz.zonesForCountry(localeInfo.region ?? localeInfo.baseName);
|
||||
const formattedDate = new Intl.DateTimeFormat(lang, {
|
||||
timeZone: intlTimezone ? intlTimezone[0] : "Factory",
|
||||
timeZone: intlTimezone ? intlTimezone[0] : "Etc/GMT",
|
||||
dateStyle: "short",
|
||||
timeStyle: "medium",
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue