Skip to content

Commit 691ca43

Browse files
GordonSmithCopilot
andauthored
Update packages/comms/src/ecl/query.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8958297 commit 691ca43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/comms/src/ecl/query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class Query extends StateObject<QueryEx, QueryEx> implements QueryEx {
191191
const isNum = isNumber(value);
192192
let rawValue = isNum ? parseFloat(value as string) : value;
193193
let formatted = value;
194-
if (key.includes("Time")) {
194+
if (key.indexOf("Time") >= 0) {
195195
rawValue = (rawValue as number) / 1000000000;
196196
formatted = siFormatter(rawValue) + "s";
197197
}

0 commit comments

Comments
 (0)