Skip to content

Commit 875e089

Browse files
authored
Merge pull request #2390 from DeinFreund/utctim
handle donation timestamps as local time.
2 parents 6946417 + b9fea45 commit 875e089

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)