diff --git a/src/Models/Commit.cs b/src/Models/Commit.cs index 5467f3ec..ed60faae 100644 --- a/src/Models/Commit.cs +++ b/src/Models/Commit.cs @@ -27,6 +27,8 @@ namespace SourceGit.Models { public string AuthorTimeStr => UTC_START.AddSeconds(AuthorTime).ToString("yyyy-MM-dd HH:mm:ss"); public string CommitterTimeStr => UTC_START.AddSeconds(CommitterTime).ToString("yyyy-MM-dd HH:mm:ss"); + public string AuthorTimeShortStr => UTC_START.AddSeconds(AuthorTime).ToString("yyyy/MM/dd"); + public string CommitterTimeShortStr => UTC_START.AddSeconds(CommitterTime).ToString("yyyy/MM/dd"); public static void ParseUserAndTime(string data, ref User user, ref ulong time) { var match = REG_USER_FORMAT.Match(data); diff --git a/src/Views/FileHistories.xaml b/src/Views/FileHistories.xaml index f205ee1e..0345f49c 100644 --- a/src/Views/FileHistories.xaml +++ b/src/Views/FileHistories.xaml @@ -60,7 +60,6 @@ - - - - - + + + + + - + + + + + + + - - - - - + - - - - - + + - - - - - - - - - - + + + + + + +