From 492e9aaceeb4c6d290352bc27217f406f584cf86 Mon Sep 17 00:00:00 2001 From: Prathamesh Mutkure Date: Wed, 20 Sep 2023 02:37:11 +0530 Subject: [PATCH] Removed redudant microsecond constant Signed-off-by: Prathamesh Mutkure --- packages/jaeger-ui/src/utils/date.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/jaeger-ui/src/utils/date.tsx b/packages/jaeger-ui/src/utils/date.tsx index dd4308d16c..350e86601a 100644 --- a/packages/jaeger-ui/src/utils/date.tsx +++ b/packages/jaeger-ui/src/utils/date.tsx @@ -28,11 +28,8 @@ export const STANDARD_DATE_FORMAT = 'YYYY-MM-DD'; export const STANDARD_TIME_FORMAT = 'HH:mm'; export const STANDARD_DATETIME_FORMAT = 'MMMM D YYYY, HH:mm:ss.SSS'; -/** @constant 1μs is the precision of Jaeger timestamps */ -export const ONE_MICROSECOND = 1; - /** @constant 1ms as the number of microseconds, which is the precision of Jaeger timestamps */ -export const ONE_MILLISECOND = 1000 * ONE_MICROSECOND; +export const ONE_MILLISECOND = 1000 * 1; /** @constant 1s as the number of microseconds, which is the precision of Jaeger timestamps */ export const ONE_SECOND = 1000 * ONE_MILLISECOND;