File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class="overflow-x-auto pb-px default:col-span-full default:lg:col-span-{{ $cols
49
49
</div >
50
50
<div wire:key =" {{ $slug } } -name" class =" flex items-center pr-8 xl:pr-12 {{ $servers -> count () > 1 ? ' py-2' : ' ' } } {{ ! $server -> recently_reported ? ' opacity-25 animate-pulse' : ' ' } }" >
51
51
<x-pulse::icons .server class =" w-6 h-6 mr-2 stroke-gray-500 dark:stroke-gray-400" />
52
- <span class =" text-base font-bold text-gray-600 dark:text-gray-300" title =" Time: {{ number_format ($time ) } } ms; Run at: {{ $runAt } }; " >{{ $server -> name } } </span >
52
+ <span class =" text-base font-bold text-gray-600 dark:text-gray-300" x-bind: title =" ` Time: {{ number_format ($time ) } } ms; Run at: ${formatDate(' {{ $runAt } }')};` " >{{ $server -> name } } </span >
53
53
</div >
54
54
<div wire:key =" {{ $slug } } -cpu" class =" flex items-center {{ $servers -> count () > 1 ? ' py-2' : ' ' } } {{ ! $server -> recently_reported ? ' opacity-25 animate-pulse' : ' ' } }" >
55
55
<div class =" text-xl font-bold text-gray-700 dark:text-gray-200 w-14 whitespace-nowrap tabular-nums" >
@@ -129,7 +129,7 @@ class="w-full min-w-[5rem] max-w-xs h-9 relative"
129
129
{
130
130
type: ' line' ,
131
131
data: {
132
- labels: config .labels ,
132
+ labels: config .labels . map (formatDate) ,
133
133
datasets: [
134
134
{
135
135
label: ' CPU Percent' ,
@@ -209,7 +209,7 @@ class="w-full min-w-[5rem] max-w-xs h-9 relative"
209
209
{
210
210
type: ' line' ,
211
211
data: {
212
- labels: config .labels ,
212
+ labels: config .labels . map (formatDate) ,
213
213
datasets: [
214
214
{
215
215
label: ' Memory Used' ,
You can’t perform that action at this time.
0 commit comments