Skip to content

Commit 90a8860

Browse files
committed
add the format.
1 parent 63f2389 commit 90a8860

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

system/Debug/Toolbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public function prepare(?RequestInterface $request = null, ?ResponseInterface $r
381381
helper('filesystem');
382382

383383
// Updated to microtime() so we can get history
384-
$time = sprintf('%.6f', Time::now()->format('u'));
384+
$time = sprintf('%.6f', Time::now()->format('U.u'));
385385

386386
if (! is_dir(WRITEPATH . 'debugbar')) {
387387
mkdir(WRITEPATH . 'debugbar', 0777);

system/Debug/Toolbar/Collectors/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public function display(): array
185185
'sql' => $query['query']->debugToolbarDisplay(),
186186
'trace' => $query['trace'],
187187
'trace-file' => $firstNonSystemLine,
188-
'qid' => md5($query['query'] . Time::now()->format('u')),
188+
'qid' => md5($query['query'] . Time::now()->format('0.u00 U')),
189189
];
190190
}, static::$queries);
191191

0 commit comments

Comments
 (0)