🐛 Fix IRC style display the message time wrong

This commit is contained in:
2025-09-26 22:30:46 +08:00
parent 756746b144
commit affba29c04
3 changed files with 4 additions and 4 deletions

View File

@@ -538,7 +538,7 @@ class MessageItemDisplayIRC extends HookConsumerWidget {
isMultiline ? CrossAxisAlignment.start : CrossAxisAlignment.center,
children: [
Text(
DateFormat('HH:mm').format(message.createdAt),
DateFormat('HH:mm').format(message.createdAt.toLocal()),
style: TextStyle(color: textColor.withOpacity(0.7), fontSize: 12),
).padding(top: isMultiline ? 2 : 0),
AccountPfcGestureDetector(

View File

@@ -1201,10 +1201,10 @@ packages:
dependency: "direct main"
description:
name: google_fonts
sha256: ebc94ed30fd13cefd397cb1658b593f21571f014b7d1197eeb41fb95f05d899a
sha256: "517b20870220c48752eafa0ba1a797a092fb22df0d89535fd9991e86ee2cdd9c"
url: "https://pub.dev"
source: hosted
version: "6.3.1"
version: "6.3.2"
graphs:
dependency: transitive
description:

View File

@@ -53,7 +53,7 @@ dependencies:
flutter_highlight: ^0.7.0
uuid: ^4.5.1
url_launcher: ^6.3.2
google_fonts: ^6.3.1
google_fonts: ^6.3.2
gap: ^3.0.1
cached_network_image: ^3.4.1
web: ^1.1.1