Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
aaa2016a
Commit
aaa2016a
authored
Apr 29, 2019
by
Dominik Hebeler
Browse files
Fixed rekord date
parent
7db48fea
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdminInterface.php
View file @
aaa2016a
...
@@ -193,7 +193,7 @@ class AdminInterface extends Controller
...
@@ -193,7 +193,7 @@ class AdminInterface extends Controller
if
(
$insgesamt
>
$rekordTag
)
{
if
(
$insgesamt
>
$rekordTag
)
{
$rekordTag
=
$insgesamt
;
$rekordTag
=
$insgesamt
;
$rekordTagSameTime
=
$sameTime
;
$rekordTagSameTime
=
$sameTime
;
$rekordTagDate
=
date
(
"d.m.Y"
,
mktime
(
date
(
"H"
),
date
(
"i"
),
date
(
"s"
),
date
(
"m"
),
date
(
"d"
)
-
$i
,
date
(
"Y"
))
);
$rekordTagDate
=
Carbon
::
now
()
->
subDays
(
$key
)
->
format
(
'd.m.Y'
);
}
}
$oldLogs
[
$key
][
'sameTime'
]
=
number_format
(
floatval
(
$sameTime
),
0
,
","
,
"."
);
$oldLogs
[
$key
][
'sameTime'
]
=
number_format
(
floatval
(
$sameTime
),
0
,
","
,
"."
);
$oldLogs
[
$key
][
'insgesamt'
]
=
number_format
(
floatval
(
$insgesamt
),
0
,
","
,
"."
);
$oldLogs
[
$key
][
'insgesamt'
]
=
number_format
(
floatval
(
$insgesamt
),
0
,
","
,
"."
);
...
...
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