diff --git a/src/Ops.Web/Pages/Ticketing.razor b/src/Ops.Web/Pages/Ticketing.razor
index ae9698d..b74bc6c 100644
--- a/src/Ops.Web/Pages/Ticketing.razor
+++ b/src/Ops.Web/Pages/Ticketing.razor
@@ -71,8 +71,8 @@ else
@ticket.TicketId
@ticket.Status |
- @ticket.Created.ToString("s") |
- @ticket.LastModified.ToString("s") |
+ @ticket.Created.ToLocalTime().ToString("s") |
+ @ticket.LastModified.ToLocalTime().ToString("s") |
@* *@
@* OpenDialog(ticket.TicketId, TicketStatus.Complete)">Complete *@
@* OpenDialog(ticket.TicketId, TicketStatus.Error)">Error *@
diff --git a/src/Ops.Web/Ticketing/TicketsFilter.cs b/src/Ops.Web/Ticketing/TicketsFilter.cs
index 5a335d9..a6f12fc 100644
--- a/src/Ops.Web/Ticketing/TicketsFilter.cs
+++ b/src/Ops.Web/Ticketing/TicketsFilter.cs
@@ -57,8 +57,8 @@ public void OpenTicketsOfToday()
Statuses[TicketStatus.Error] = false;
Statuses[TicketStatus.Complete] = false;
- Since = DateTimeOffset.Now.Date;
- To = DateTimeOffset.Now.Subtract(TimeSpan.FromMinutes(MinutesAfterStaleTicket)).DateTime;
+ Since = DateTime.Now.Date;
+ To = DateTime.Now.Subtract(TimeSpan.FromMinutes(MinutesAfterStaleTicket));
CurrentPage = 1;
}
@@ -72,8 +72,8 @@ public void OpenTicketsLastThreeDays()
Statuses[TicketStatus.Error] = false;
Statuses[TicketStatus.Complete] = false;
- Since = DateTimeOffset.Now.Date.Subtract(TimeSpan.FromDays(3));
- To = DateTimeOffset.Now.Subtract(TimeSpan.FromMinutes(MinutesAfterStaleTicket)).DateTime;
+ Since = DateTime.Now.Date.Subtract(TimeSpan.FromDays(3));
+ To = DateTime.Now.Subtract(TimeSpan.FromMinutes(MinutesAfterStaleTicket));
CurrentPage = 1;
}
|