Skip to content

Commit 2bcf07b

Browse files
committed
Using Elapsed.ToSmartString to always look decent in Toast
1 parent 3229450 commit 2bcf07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FetchXmlBuilder/FXBQueries.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ internal void HandleRetrieveMultipleResult(object result)
371371
this,
372372
$"result-{settings.ExecuteOptions.ResultOutput}",
373373
$"FetchXML Builder executed.",
374-
$"Retrieved {queryinfo.Results.Entities.Count} records\nin {queryinfo.Elapsed.TotalSeconds:N2} seconds.\n\nClick to see result!",
374+
$"Retrieved {queryinfo.Results.Entities.Count} records\nin {queryinfo.Elapsed.ToSmartString()}.\n\nClick to see result!",
375375
logo: "https://rappen.github.io/Tools/Images/FXB150.png");
376376
}
377377
switch (settings.ExecuteOptions.ResultOutput)

0 commit comments

Comments
 (0)