From 24957b8c86e4b71684219b24fa1a53bb25deabfd Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 25 Aug 2023 18:15:26 +0800 Subject: [PATCH] style: redesign style for blame --- src/Commands/Blame.cs | 2 +- src/Views/Blame.xaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Commands/Blame.cs b/src/Commands/Blame.cs index 5fc8332a..4d364be3 100644 --- a/src/Commands/Blame.cs +++ b/src/Commands/Blame.cs @@ -53,7 +53,7 @@ namespace SourceGit.Commands { var author = match.Groups[2].Value; var timestamp = int.Parse(match.Groups[3].Value); var content = match.Groups[4].Value; - var when = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).AddSeconds(timestamp).ToLocalTime().ToString("yyyy-MM-dd HH:mm:ss"); + var when = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc).AddSeconds(timestamp).ToLocalTime().ToString("yyyy/MM/dd"); var blameLine = new Models.BlameLine() { LineNumber = $"{data.Lines.Count + 1}", diff --git a/src/Views/Blame.xaml b/src/Views/Blame.xaml index 299cca9a..db12c6db 100644 --- a/src/Views/Blame.xaml +++ b/src/Views/Blame.xaml @@ -80,6 +80,8 @@ + + @@ -109,8 +111,6 @@ - -