mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
style<FileHistories>: new style for FileHistories
This commit is contained in:
parent
b1f8c93c81
commit
e17fbab4cf
2 changed files with 30 additions and 41 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue