Skip to content

Commit ac7b025

Browse files
committed
enhance: add comma between date and time (#1150)
Signed-off-by: leo <[email protected]>
1 parent 8c9cf05 commit ac7b025

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/Models/DateTimeFormat.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@ public static DateTimeFormat Actived
3232

3333
public static readonly List<DateTimeFormat> Supported = new List<DateTimeFormat>
3434
{
35-
new DateTimeFormat("yyyy/MM/dd", "yyyy/MM/dd HH:mm:ss"),
36-
new DateTimeFormat("yyyy.MM.dd", "yyyy.MM.dd HH:mm:ss"),
37-
new DateTimeFormat("yyyy-MM-dd", "yyyy-MM-dd HH:mm:ss"),
38-
new DateTimeFormat("MM/dd/yyyy", "MM/dd/yyyy HH:mm:ss"),
39-
new DateTimeFormat("MM.dd.yyyy", "MM.dd.yyyy HH:mm:ss"),
40-
new DateTimeFormat("MM-dd-yyyy", "MM-dd-yyyy HH:mm:ss"),
41-
new DateTimeFormat("dd/MM/yyyy", "dd/MM/yyyy HH:mm:ss"),
42-
new DateTimeFormat("dd.MM.yyyy", "dd.MM.yyyy HH:mm:ss"),
43-
new DateTimeFormat("dd-MM-yyyy", "dd-MM-yyyy HH:mm:ss"),
44-
new DateTimeFormat("MMM d yyyy", "MMM d yyyy HH:mm:ss"),
45-
new DateTimeFormat("d MMM yyyy", "d MMM yyyy HH:mm:ss"),
35+
new DateTimeFormat("yyyy/MM/dd", "yyyy/MM/dd, HH:mm:ss"),
36+
new DateTimeFormat("yyyy.MM.dd", "yyyy.MM.dd, HH:mm:ss"),
37+
new DateTimeFormat("yyyy-MM-dd", "yyyy-MM-dd, HH:mm:ss"),
38+
new DateTimeFormat("MM/dd/yyyy", "MM/dd/yyyy, HH:mm:ss"),
39+
new DateTimeFormat("MM.dd.yyyy", "MM.dd.yyyy, HH:mm:ss"),
40+
new DateTimeFormat("MM-dd-yyyy", "MM-dd-yyyy, HH:mm:ss"),
41+
new DateTimeFormat("dd/MM/yyyy", "dd/MM/yyyy, HH:mm:ss"),
42+
new DateTimeFormat("dd.MM.yyyy", "dd.MM.yyyy, HH:mm:ss"),
43+
new DateTimeFormat("dd-MM-yyyy", "dd-MM-yyyy, HH:mm:ss"),
44+
new DateTimeFormat("MMM d yyyy", "MMM d yyyy, HH:mm:ss"),
45+
new DateTimeFormat("d MMM yyyy", "d MMM yyyy, HH:mm:ss"),
4646
};
4747

4848
private static readonly DateTime _example = new DateTime(2025, 1, 31, 8, 0, 0, DateTimeKind.Local);

src/Views/Histories.axaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
</Border>
196196

197197
<!-- TIME -->
198-
<Border Grid.Column="3" Padding="4,0" ClipToBounds="True" IsHitTestVisible="False">
198+
<Border Grid.Column="3" Padding="4,0,8,0" ClipToBounds="True" IsHitTestVisible="False">
199199
<v:CommitTimeTextBlock Classes="primary"
200200
HorizontalAlignment="Center"
201201
FontWeight="{Binding FontWeight}"

0 commit comments

Comments
 (0)