diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2024-04-08 15:16:48 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-08 15:16:48 +0000 |
commit | 2b1117bf60971ab044e3daea63adc2b6a2b35bc9 (patch) | |
tree | 138c629d9b6d64f585364419a9642a14b447f750 | |
parent | 36932dc98dfa52f3d4fc97ec2311db351bd6f21c (diff) | |
parent | a28f676dd06bbba831a2e8063480a9672569707e (diff) | |
download | perfetto-2b1117bf60971ab044e3daea63adc2b6a2b35bc9.tar.gz |
Merge "ci: use yyyy-mm-dd format" into main
-rw-r--r-- | infra/ci/frontend/static/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/ci/frontend/static/script.js b/infra/ci/frontend/static/script.js index a2e9dc685..24591d45d 100644 --- a/infra/ci/frontend/static/script.js +++ b/infra/ci/frontend/static/script.js @@ -231,7 +231,7 @@ function getLastUpdate(lastUpdate) { return lastUpdateMins + ' mins ago'; if (lastUpdateMins < 60 * 24) return Math.ceil(lastUpdateMins / 60) + ' hours ago'; - return lastUpdate.toLocaleDateString(); + return lastUpdate.toISOString().substr(0, 10); } function renderCLRow(cl) { |