Migrates date handling from date-fns to day.js

Replaces date-fns library with day.js to reduce bundle size and improve tree-shaking

- Centralizes all date logic in DateService
- Reduces library footprint from 576 KB to 29 KB
- Maintains 99.4% test coverage during migration
- Adds timezone and formatting plugins for day.js

Improves overall library performance and reduces dependency complexity
This commit is contained in:
Janus C. H. Knudsen 2025-11-12 23:51:48 +01:00
parent 2d8577d539
commit b5dfd57d9e
14 changed files with 1103 additions and 157 deletions

View file

@ -1,20 +0,0 @@
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"permissions": {
"allow": [
"Bash(npm run build:*)",
"Bash(powershell:*)",
"Bash(rg:*)",
"Bash(find:*)",
"Bash(mv:*)",
"Bash(rm:*)",
"Bash(npm install:*)",
"Bash(npm test)",
"Bash(cat:*)",
"Bash(npm run test:run:*)",
"Bash(npx tsc)",
"Bash(npx tsc:*)"
],
"deny": []
}
}