Skip to content

Commit a25c2d0

Browse files
authored
fix(explorer): strip Z for abs time nav links (#104525)
<!-- Describe your PR here. -->
1 parent a3b8523 commit a25c2d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

static/app/views/seerExplorer/utils.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,13 @@ export function buildToolLinkUrl(
416416
if (sort) {
417417
queryParams.sort = sort;
418418
}
419+
420+
// page filter expects no timezone (treated as UTC) or +HH:MM offset.
419421
if (start) {
420-
queryParams.start = start;
422+
queryParams.start = start.replace(/Z$/, '');
421423
}
422424
if (end) {
423-
queryParams.end = end;
425+
queryParams.end = end.replace(/Z$/, '');
424426
}
425427

426428
// If project_slugs is provided, look up the IDs and include them in qparams

0 commit comments

Comments
 (0)