From c37f4bfa6b1d37c5e125683028a141099378f47f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com>
Date: Wed, 3 Nov 2021 08:47:16 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=E6=98=BE=E7=A4=BA=E5=86=85?=
=?UTF-8?q?=E5=AE=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
FastGithub.UI/UdpLog.cs | 2 +-
FastGithub.UI/UdpLogListBox.xaml | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/FastGithub.UI/UdpLog.cs b/FastGithub.UI/UdpLog.cs
index 5fa54fe..6317665 100644
--- a/FastGithub.UI/UdpLog.cs
+++ b/FastGithub.UI/UdpLog.cs
@@ -18,7 +18,7 @@ namespace FastGithub.UI
public void SetToClipboard()
{
- Clipboard.SetText($"{this.Timestamp.ToString("yyyy-MM-dd HH:mm:ss.fff")}\r\n{this.SourceContext}\r\n{this.Message}");
+ Clipboard.SetText($"{this.Timestamp:yyyy-MM-dd HH:mm:ss.fff}\r\n{this.Message}");
}
}
}
diff --git a/FastGithub.UI/UdpLogListBox.xaml b/FastGithub.UI/UdpLogListBox.xaml
index cb459ed..5b8151c 100644
--- a/FastGithub.UI/UdpLogListBox.xaml
+++ b/FastGithub.UI/UdpLogListBox.xaml
@@ -34,9 +34,8 @@
-
-
-
+
+