rwadurian/frontend/mining-app/lib/presentation
hailin 59acea33fe feat(trading): K线图增加周/月/年周期
- 前端周期选项增加「周」「月」「年」
- 后端 parsePeriodToMinutes 增加 1w/1M/1y 映射
- getPeriodStart 对日历周期按自然边界对齐:
  - 1w → 周一 00:00 UTC(ISO 周标准)
  - 1M → 月初1日 00:00 UTC
  - 1y → 年初1月1日 00:00 UTC
- 固定周期(1m~1d)仍使用 epoch 模运算,不受影响

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 18:42:38 -08:00
..
pages feat(trading): K线图增加周/月/年周期 2026-02-04 18:42:38 -08:00
providers feat(trading): K线图增加周/月/年周期 2026-02-04 18:42:38 -08:00
widgets fix(trading): K线Y轴动态缩放 + 价格显示格式统一 + 首日涨幅修复 2026-02-04 18:36:26 -08:00