Fix display dateformat

This commit is contained in:
2025-04-13 16:43:05 +02:00
parent 3239a075fb
commit b687464d59
6 changed files with 6 additions and 6 deletions

View File

@@ -20,7 +20,7 @@ enum ChannelListItemMode {
}
class ChannelListItem extends StatefulWidget {
static final _dateFormat = DateFormat('yyyy-MM-dd kk:mm');
static final _dateFormat = DateFormat('yyyy-MM-dd HH:mm'); //TODO setting
const ChannelListItem({
required this.channel,

View File

@@ -11,7 +11,7 @@ class DebugLogsPage extends StatefulWidget {
class _DebugLogsPageState extends State<DebugLogsPage> {
Box<SCNLog> logBox = Hive.box<SCNLog>('scn-logs');
static final _dateFormat = DateFormat('yyyy-MM-dd kk:mm');
static final _dateFormat = DateFormat('yyyy-MM-dd HH:mm'); //TODO setting
@override
Widget build(BuildContext context) {

View File

@@ -13,7 +13,7 @@ class DebugRequestsPage extends StatefulWidget {
class _DebugRequestsPageState extends State<DebugRequestsPage> {
Box<SCNRequest> requestsBox = Hive.box<SCNRequest>('scn-requests');
static final _dateFormat = DateFormat('yyyy-MM-dd kk:mm');
static final _dateFormat = DateFormat('yyyy-MM-dd HH:mm'); //TODO setting
@override
Widget build(BuildContext context) {

View File

@@ -8,7 +8,7 @@ import 'package:intl/intl.dart';
import 'package:simplecloudnotifier/utils/ui.dart';
class MessageListItem extends StatelessWidget {
static final _dateFormat = DateFormat('yyyy-MM-dd kk:mm');
static final _dateFormat = DateFormat('yyyy-MM-dd HH:mm'); //TODO setting
static final _lineCount = 3; //TODO setting
const MessageListItem({

View File

@@ -34,7 +34,7 @@ class MessageViewPage extends StatefulWidget {
class _MessageViewPageState extends State<MessageViewPage> {
late Future<(SCNMessage, ChannelPreview, KeyTokenPreview, UserPreview)>? mainFuture;
(SCNMessage, ChannelPreview, KeyTokenPreview, UserPreview)? mainFutureSnapshot = null;
static final _dateFormat = DateFormat('yyyy-MM-dd kk:mm');
static final _dateFormat = DateFormat('yyyy-MM-dd HH:mm'); //TODO setting
bool _monospaceMode = false;