Skip to content

Commit 7a753e7

Browse files
committed
ux: do not show time part in blame
Signed-off-by: leo <longshuang@msn.cn>
1 parent 7181472 commit 7a753e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Views/Blame.axaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public override void Render(DrawingContext context)
7979
var authorTop = y - author.Height * 0.5;
8080
context.DrawText(author, new Point(x, authorTop));
8181

82-
var timeStr = Models.DateTimeFormat.Format(info.Timestamp);
82+
var timeStr = Models.DateTimeFormat.Format(info.Timestamp, true);
8383
var time = new FormattedText(
8484
timeStr,
8585
CultureInfo.CurrentCulture,
@@ -131,7 +131,7 @@ protected override Size MeasureOverride(Size availableSize)
131131
_editor.Foreground);
132132
x += author.Width + 8;
133133

134-
var timeStr = Models.DateTimeFormat.Format(info.Timestamp);
134+
var timeStr = Models.DateTimeFormat.Format(info.Timestamp, true);
135135
var time = new FormattedText(
136136
timeStr,
137137
CultureInfo.CurrentCulture,

0 commit comments

Comments
 (0)