From 2f8840feacfb68438ec81ca07220bbed2e621398 Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Fri, 25 Apr 2025 15:36:07 +0800 Subject: [PATCH] chore: to utc time --- tools/ResourceUpdater/version.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ResourceUpdater/version.ps1 b/tools/ResourceUpdater/version.ps1 index e1bf7dbb49..7cbf5b2276 100644 --- a/tools/ResourceUpdater/version.ps1 +++ b/tools/ResourceUpdater/version.ps1 @@ -40,7 +40,7 @@ else { if (Test-Path $versionFile) { $json = Get-Content -Path $versionFile | ConvertFrom-Json - $json.last_updated = (Get-Date).ToString("yyyy-MM-dd HH:mm:ss.fff") + $json.last_updated = (Get-Date).ToUniversalTime().ToString("yyyy-MM-dd HH:mm:ss.fff") $jsonFormatted = $json | ConvertTo-Json -Depth 3 $jsonFormatted = $jsonFormatted -replace " ", " "