Skip to content

Commit f2f717e

Browse files
author
Jonas Gauffin
committed
Force UTC when converting date for bug reprots
1 parent f5e8d3c commit f2f717e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/Coderr.Server.WebSite/ClientApp/src/app/incidents/details/bugreports/bugreports.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class BugReportsComponent implements OnInit {
8080
var item: IBugReport = {
8181
email: dto.emailAddress,
8282
message: dto.message,
83-
writtenAtUtc: new Date(dto.writtenAtUtc)
83+
writtenAtUtc: new Date(dto.writtenAtUtc + "Z")
8484
};
8585

8686
return item;

0 commit comments

Comments
 (0)