summaryrefslogtreecommitdiff
path: root/src/util/time.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/time.ts')
-rw-r--r--src/util/time.ts6
1 files changed, 5 insertions, 1 deletions
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;
}