feat(app): all album date displays date-only — formatAlbumDateTime drops HH:mm

相册列表卡/详情信息/分享页 meta/照片查看器日期一律纯日期(y/M/d)。
全量测试断言同步;397/397 全绿。

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-24 16:20:47 +08:00
parent 07761b1b26
commit cf490c7892
8 changed files with 11 additions and 20 deletions
@@ -57,7 +57,8 @@ String formatAlbumDateTime(
String locale,
) {
final zoned = tryToAlbumZone(utcInstant, timeZone) ?? utcInstant.toUtc();
return DateFormat('y/M/d HH:mm', locale).format(zoned);
// UI06(用户需求 2026-09-24):相册日期一律纯日期显示(不带 HH:mm)。
return DateFormat('y/M/d', locale).format(zoned);
}
/// 相册墙钟(表单里选择的日期时间,设备本地时区标记的 naive 值)→