Fix display dateformat
This commit is contained in:
@@ -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,
|
||||
|
@@ -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) {
|
||||
|
@@ -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) {
|
||||
|
@@ -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({
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user