From 34d94a86ea85d08fa0c0ffe4633b74255932b77a Mon Sep 17 00:00:00 2001 From: YumNumm Date: Tue, 2 Jan 2024 00:06:22 +0900 Subject: [PATCH] fix --- .../component/earthquake_history_tile_widget.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/feature/earthquake_history/component/earthquake_history_tile_widget.dart b/lib/feature/earthquake_history/component/earthquake_history_tile_widget.dart index 2eb907a2c..87493967d 100644 --- a/lib/feature/earthquake_history/component/earthquake_history_tile_widget.dart +++ b/lib/feature/earthquake_history/component/earthquake_history_tile_widget.dart @@ -89,6 +89,12 @@ class EarthquakeHistoryTileWidget extends ConsumerWidget { case _: body.write('深さ${item.earthquake.earthquake!.hypocenter.depth}km'); } + } else { + // 受信時刻 + body.write( + DateFormat('yyyy/MM/dd HH:mm頃 発表') + .format(item.telegrams.first.pressTime.toLocal()), + ); } var trailing = ''; if (item.earthquake.isVolcano) {