We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65273e1 commit 6856a89Copy full SHA for 6856a89
1 file changed
frontend/static/install.ps1
@@ -109,7 +109,7 @@ Write-Host "API Key: $maskedKey" -ForegroundColor DarkGray
109
110
Write-Host
111
Write-Host "Sending test heartbeat..." -ForegroundColor White
112
-$time = [Math]::Floor([decimal](Get-Date(Get-Date).ToUniversalTime()-uformat '%s'))
+$time = [DateTimeOffset]::UtcNow.ToUnixTimeSeconds()
113
$heartbeat = @{
114
type = 'file'
115
time = $time
0 commit comments