Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Dmytro Bogatov
status-site
Commits
fb3be3de
Commit
fb3be3de
authored
Aug 11, 2017
by
Dmytro Bogatov
💕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix.
parent
7021f33f
Pipeline
#1182
failed with stages
in 3 minutes and 21 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/web/Views/Shared/Components/DiscrepancyCard/Default.cshtml
...eb/Views/Shared/Components/DiscrepancyCard/Default.cshtml
+3
-3
No files found.
src/web/Views/Shared/Components/DiscrepancyCard/Default.cshtml
View file @
fb3be3de
...
...
@@ -42,11 +42,11 @@
<div
class=
"lgi-heading"
>
Discrepancy of type
<strong>
@Model.Type
</strong>
from
@{
var start = Convert.ToInt64((Model.DateFirstOffense.AddMinutes(-
2
) - new DateTime(1970, 1, 1)).TotalMilliseconds);
var start = Convert.ToInt64((Model.DateFirstOffense.AddMinutes(-
10
) - new DateTime(1970, 1, 1)).TotalMilliseconds);
var end =
Model.Resolved ?
Convert.ToInt64((Model.DateResolved.AddMinutes(
2
) - new DateTime(1970, 1, 1)).TotalMilliseconds) :
Convert.ToInt64((Model.DateFirstOffense.AddMinutes(1
5
) - new DateTime(1970, 1, 1)).TotalMilliseconds);
Convert.ToInt64((Model.DateResolved.AddMinutes(
10
) - new DateTime(1970, 1, 1)).TotalMilliseconds) :
Convert.ToInt64((Model.DateFirstOffense.AddMinutes(1
0
) - new DateTime(1970, 1, 1)).TotalMilliseconds);
}
<a
asp-controller=
"Home"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment