Skip to content

Commit

Permalink
fix endTime in service redirection
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <[email protected]>
  • Loading branch information
ps48 committed Oct 22, 2024
1 parent ff518e7 commit 6ceecef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export function ServiceView(props: ServiceViewProps) {
.format(TRACE_ANALYTICS_DATE_FORMAT) ?? 'now-1y';
const endTime =
dateMath
.parse(props.startTime, { roundUp: true })!
.parse(props.endTime, { roundUp: true })!
.add(3, 'days')
.format(TRACE_ANALYTICS_DATE_FORMAT) ?? 'now';
if (coreRefs?.dataSource?.dataSourceEnabled) {
Expand Down

0 comments on commit 6ceecef

Please sign in to comment.