Skip to content

Commit b9fea45

Browse files
committed
handle donation timestamps as local time. workaround for #2385
1 parent 914bf84 commit b9fea45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zero-K.info/Views/Contributions/ContributionsIndex.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
@{
7979
var grid = new UniGrid<Contribution>(Model);
80-
grid.AddCol("Date", x => Html.PrintDate(x.Time)).SetSort(x => x.Time).SetWidth("150px");
80+
grid.AddCol("Date", x => Html.PrintDate(x.Time.ToUniversalTime())).SetSort(x => x.Time).SetWidth("150px");
8181
grid.AddCol("Name", NameCol).SetSort(x => x.AccountByAccountID != null ? x.AccountByAccountID.Name : null).SetWidth("250px");
8282
grid.AddCol("Euro", x => x.Euros.Value.ToString("F2")).SetSort(x => x.Euros).SetWidth("100px");
8383
if (Global.IsModerator)

0 commit comments

Comments
 (0)