上次修复使用了 DateTime.parse(t).toLocal(),但 distributionMinute 字符串不带 Z 后缀(如 "2026-03-03 05:09:00"),Dart 的 DateTime.parse 在无时区标识时默认当作本地时间处理,导致 .toLocal() 无效。 修复:解析前追加 Z 后缀,强制标记为 UTC,使 .toLocal() 正确转换 为北京时间(UTC+8)。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| ios | ||
| lib | ||
| scripts | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| DEVELOPMENT_GUIDE.md | ||
| README.md | ||
| analysis_options.yaml | ||
| pubspec.yaml | ||
README.md
mining_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.