From aaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 30 Mar 2020 16:09:32 +0530 Subject: re-format with prettier v2, fix HTML --- src/util/time.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/util/time.ts') diff --git a/src/util/time.ts b/src/util/time.ts index 2740c361f..138ecb876 100644 --- a/src/util/time.ts +++ b/src/util/time.ts @@ -138,7 +138,11 @@ export function timestampDifference(t1: Timestamp, t2: Timestamp): Duration { return { d_ms: Math.abs(t1.t_ms - t2.t_ms) }; } -export function timestampIsBetween(t: Timestamp, start: Timestamp, end: Timestamp) { +export function timestampIsBetween( + t: Timestamp, + start: Timestamp, + end: Timestamp, +) { if (timestampCmp(t, start) < 0) { return false; } -- cgit v1.2.3