Skip to content

Commit

Permalink
Removed redudant microsecond constant
Browse files Browse the repository at this point in the history
Signed-off-by: Prathamesh Mutkure <pmutkure009@gmail.com>
  • Loading branch information
prathamesh-mutkure committed Sep 22, 2023
1 parent 135f504 commit 492e9aa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/jaeger-ui/src/utils/date.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 492e9aa

Please sign in to comment.